SXB 2.0 Bug?
·Bean,
I was trying to utilize the Get @source,dest1 to dest2 and Put @destination, Source1 to Source2 when I got what appeared to be a compiler error. for example:
Main:
·array1(0)="1"
·array1(1)="2"
·array1(2)="3"
·array1(3)="4"
·get array1, tmpB1 to tmpB4
·put array2, tmpB1 to tmpB4
loop:
·goto loop
The get compiles with a counter to track how many variables to move with a djnz loop.· However, the put does not establish a counter and only seems to move tmpB1 and tmpB4.
AM I smoking funny stuff or is this a real problem?
PS so far I love 2.0 with its word var aliasing!
RS Jim
·
I was trying to utilize the Get @source,dest1 to dest2 and Put @destination, Source1 to Source2 when I got what appeared to be a compiler error. for example:
Main:
·array1(0)="1"
·array1(1)="2"
·array1(2)="3"
·array1(3)="4"
·get array1, tmpB1 to tmpB4
·put array2, tmpB1 to tmpB4
loop:
·goto loop
The get compiles with a counter to track how many variables to move with a djnz loop.· However, the put does not establish a counter and only seems to move tmpB1 and tmpB4.
AM I smoking funny stuff or is this a real problem?
PS so far I love 2.0 with its word var aliasing!
RS Jim
·
Comments
I'm running 2.00.13 and both GET and PUT establish a counter in __PARAM2 with this line:
I ran your program with Debug and the results (which interest me more than process) are what you expect: array1 is moved to the temps with GET and the temps are moved to array2 with PUT -- works hunky-dorey.