Bug #88
System variable 'Screen' not working
Start date:
01/28/2020
Due date:
% Done:
0%
Estimated time:
Affected version:
Description
Example:
#splashScreen:false Screen Open 1,320,256,32,Lowres Screen 1 S=Screen Print "Screen: ";S Print Screen
S=Screen should assign current screen number to variable S - it doesn't.
Transpiler also throws up this error:- main.aoz:3:8: warning: variable 'screen' used without been declared
Both Print statement should display "1", and they display "0"
Updated by Francois Lionet over 4 years ago
- Status changed from New to Resolved
- Assignee set to Francois Lionet
- Target version set to 0.9.4
Ha! Corrected, forgot that you could use the token as a function too... Not very logical in the syntax Mr Lionet... What a lamer... Much better syntax in Blitz Basic. ;)
Updated by Baptiste Pillot about 4 years ago
- Description updated (diff)
- Status changed from Resolved to Closed
- source code : https://www.amos2.fr/ide/Amos2/Ide/Program/469
- run : https://www.amos2.fr/run/tickleman/88/
- result :
Screen: 1 1
Ok, confirmed working and closed.