Project

General

Profile

Actions

Bug #88

closed

System variable 'Screen' not working

Added by David Baldwin almost 5 years ago. Updated almost 5 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"

Actions #1

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

Actions #2

Updated by Baptiste Pillot almost 5 years ago

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

Ok, confirmed working and closed.

Actions

Also available in: Atom PDF