Posted by Robert G Laurin on June 03, 2014 at 13:39:53:
Oh WOW !
Long while ago I modified all my STR( ) and NUM( ) function to be compatible with Comet32 by using RSUB( ).
Now I just discovered that the code that I am using does not compile properly in Comet32. The Comet16 Compile object works properly with Comet32.
Below is a sample code that I used.
length 1.0 & local err
length 5 & local thline$
!
!===== Executables =====
!
clear
print (0) (cs);(et)
!
LET THLINE$ = ' 1'
LET THLINE$ = RSUB(STR(INT(NUM(THLINE$,ERR)+1)),2,5) ! C32
print (0) 'thline$+1:';thline$
wait
!
run 'QMONITOR'
When Compiled as Comet16 it returns the expected ' 2'
When Compiled as Comet32 it returns unexpected '00000'
I'll spare you the extend of damage this caused today...
This was tested on Windows 7 Pro x64 running Comet32 2013.480
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.