Project

General

Profile

Bug #88

System variable 'Screen' not working

Added by David Baldwin about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
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"

#1

Updated by Francois Lionet about 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. ;)

#2

Updated by Baptiste Pillot about 4 years ago

  • Description updated (diff)
  • Status changed from Resolved to Closed
Screen:  1
 1

Ok, confirmed working and closed.

Also available in: Atom PDF