#118 Add NetRexx-style hex and binary numeric symbols.

None
open
nobody
5
2012-08-22
2007-02-24
Rick McGuire
No

The NetRexx supplement adds a new syntactic token, the hexadecimal and binary numeric symbol, which allows numeric constants to be specified directly in hex or binary form.

Discussion

  • Logged In: NO

    Suggestion:

    Hex number like C: 0xFF
    Octal number: 8x777
    Binary number: 2x10101

    These can be converted by the lexical scanner into their equivalent decimal values.
    From that point on, there is no change to the rexx language definition or semantics.

     


Anonymous


Cancel   Add attachments