Skip to content

4.05-beta: c2x and c2d in non-oo notation is not compatible with classic rexx #50

@jlfaucher

Description

@jlfaucher

c2x
It seems the rule "Insignificant leading zeros are removed" is applied to all the characters, but in this mode all the bytes should be kept.
say c2x("René") -- 52656EE9 but the bytes are 0052 0065 006E 00E9

Regina and ooRexx:
say c2x("0052 0065 006E 00E9"x) -- 00520065006E00E9

c2d
say c2d("a") -- 97 as Regina and ooRexx
say c2d("aa") -- 9797

Regina and ooRexx:
say c2d("0061 0061"x) -- 6357089 (65536*97 + 97)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions