Ether I'm going crazy or something is really funny here with Globals and dividing.
This code below does not use Globals, this produces the expected result of 6.25 and 4.166667
SetDisplayAspect(320.0/480.0)
dw# = 100.0/16.0
dh# = 100.0/24.0
do
PRINT(dw#)
PRINT(dh#)
Sync()
loop
The Code below uses globals and does not get the same results.
SetDisplayAspect(320.0/480.0)
GLOBAL dw# = 100.0/16.0
GLOBAL dh# = 100.0/24.0
do
PRINT(dw#)
PRINT(dh#)
Sync()
loop
Please confirm what values you get. This is a huge error that needs to get fixed ASAP.