No opinion on this one? I'd like to add these this weekend. My preferred method is the "IP address" identifier. I'll also add some #defines for each new level we introduce.
Rick On Thu, Oct 9, 2008 at 12:58 PM, Rick McGuire <[EMAIL PROTECTED]> wrote: > David's questions yesterday about RXSHV_PRIV pointed out a deficiency > in the new APIs. On the interpreter instance APIs, we really should > have APIs for checking the interpreter version and language level. > Fairly easy to add, but how should the information be returned? It > would be nice if we could come up with a binary format that allowed > for easy level comparisons, but that might be tricky. I think both > language level and interpreter level need to be provided because they > don't necessarily bump together. For example, with 4.0.0, the > language level is 6.03. Current plan is to come out with a minor > release shortly after 4.0.0 (4.0.1 probably) that will include fixes > and the repaired orxscript support. orxscript is not really a > "language" feature, so the language level might stay at 6.04. > > For a binary format, we could do what's done with IP addresses and > store each digit in a separate nibble. Thus the next release would > have an interpreter version of 0x00040000 and the language level would > be 0x00000603. These constants would allow an easy "is this level > greater than or equal to" check to be performed. > > Rick > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
