Dbox:
I don't care if my test code works in QBJS, it is only to get the GetMove$() Function working correctly with the Chess program.
I plug the function into the chess program in place of the 2 Input "enter move" lines. The keypresses work but it looks like the digit for the row number is not being passed?
dbox:
If I Dim a variable as Long why is QBJS showing a print of the variable as real number with decimals??? QB64 would drop the decimal automatically ie integer division should not be needed!
Code: (Select All)
Incidentally, your last code snippet seems to work the same in QBJS and QB64 by just changing line 23 to use the integer division operator (as it was in the sample I provided):I don't care if my test code works in QBJS, it is only to get the GetMove$() Function working correctly with the Chess program.
I plug the function into the chess program in place of the 2 Input "enter move" lines. The keypresses work but it looks like the digit for the row number is not being passed?
dbox:
Code: (Select All)
Incidentally, your last code snippet seems to work the same in QBJS and QB64 by just changing line 23 to use the integer division operator (as it was in the sample I provided):If I Dim a variable as Long why is QBJS showing a print of the variable as real number with decimals??? QB64 would drop the decimal automatically ie integer division should not be needed!
724 855 599 923 575 468 400 206 147 564 878 823 652 556 bxor cross forever

