HTA to compare ooRexx result with JScript
Two problems
1.Numbers around 4000000000 are converted to
negative ones.
For example,
alert('4000000000')
results in -294967296.
2.Leading zeroes are suppressed.
For example,
alert('00099')
results in 99.
Both occurs on either ooRexx 3.01 or Object Rexx 2.1.3
under W2K Pro SP4.
HTA to compare ooRexx result with JScript
Example code for using OLEVariant
Logged In: YES
user_id=191588
Originator: NO
This is fixed by the inclusion of the OLEVariant class in ooRexx's OLE Automation implementation. OLEVariant is include in ooRexx 3.1.2 which is now available.
I am attaching the file: NumberNonProblem.hta which demonstrates how to code ooRexx to produce the same results as JScript and contains some extra explanatory text.
File Added: NumberNonProblem.hta
Anonymous