edit:
I see the reference to some functions returning a 32 long, but this implies others might return something else?
For example, PRINT is not on that list.
david
ERR (edited)
-
- Posts: 606
- Joined: Nov 28, 2012 1:27
- Location: CA, USA moving to WA, USA
- Contact:
Re: ERR (edited)
This list only applies to all keywords:
- which can be called in a syntax form of function (in an expression),
- and so called, which also return an error code.
PRINT can not be called in a syntax form of function.
Example of using a keyword (SCREENSYNC) as a function to return an error:
- which can be called in a syntax form of function (in an expression),
- and so called, which also return an error code.
PRINT can not be called in a syntax form of function.
Example of using a keyword (SCREENSYNC) as a function to return an error:
Code: Select all
Declare Sub testScreen ()
testScreen()
Print
Print "Any key to continue"
Sleep
Screen 12
testScreen()
Sleep
Sub testScreen ()
If Screensync() <> 0 Then
Print "Text screen"
Else
Print "Graphic screen"
End If
End Sub
Sleep