-
Notifications
You must be signed in to change notification settings - Fork 3
Parameter types
Craig Edwards edited this page Apr 28, 2023
·
3 revisions
In the documentation below, the following parameter types are used:
-
statement
Another single statement, and its parameters where applicable. -
integer-expression
A mathematical expression or simple value that evaluates to an integer value, e.g.7
orA + 6
. -
real-expression
A mathematical expression or simple value that evaluates to a real value, e.g.7.5
orA# + 2.8 + B
. -
string-expression
A string expression or simple constant value that evaluates to a string value, e.g."hello"
or"hi " + A$
-
expression
Any of the three parameter types above, where the value should match whatever is applicable, e.g. string-expression for a string variable, etc. -
string-variable
A string variable name, e.g.mystr$
-
integer-variable
An integer variable name, e.g.val
-
real-varaible
A real varaible name, e.g.radius#
-
variable-name
Any valid variable name from the types shown above -
printable
A list of one or more of all of the above choices, separated by,
or;
, and optionally terminated by a;
. If the list is not terminated by a;
symbol, a line feed is added to the end of the output created. When separating values, a,
causes the values to be separated by tabulation, otherwise there is no spacing between the values.
(C) Brainbox.cc 2010-2023
- Home
- Builtin Commands
- Included Programs
-
Creating BASIC programs
- Automatic line numbering
- Variable Naming
- Builtin Variables
- Variable Types
- Builtin Variables
- Parameter types
-
Statements
- BACKGROUND
- CALL
- CHAIN
- CHDIR
- CIRCLE
- CLOSE
- CLS
- COLOUR/COLOR
- CONNECT
- CURSOR
- DEF
- DIM
- ELSE
- END
- ENDIF
- EVAL
- FN
- FOR
- GCOL
- GLOBAL
- GOSUB
- GOTO
- IF
- INPUT
- LET
- LIBRARY
- LINE
- LOCAL
- NEXT
- PLOT
- POINT
- POP
- PROC
- PUSH
- RECTANGLE
- REDIM
- REM
- REPEAT
- RETURN
- SETVARI
- SETVARR
- SETVARS
- SPRITELOAD
- SPRITEFREE
- SOCKCLOSE
- SOCKREAD
- SOCKWRITE
- TRIANGLE
- UNTIL
- WRITE
- YIELD
-
Builtin Functions
-
Integer Functions
- ABS
- ASC
- CHR
- CPUID
- CURRENTX
- CURRENTY
- EOF
- EXISTSVARI
- EXISTSVARR
- EXISTSVARS
- GETNAMECOUNT
- GETPROCCOUNT
- GETPROCCPUID
- GETPROCID
- GETPROCPARENT
- GETSIZE
- GETVARI
- HEXVAL
- INSTR
- LCPUID
- LGETLASTCPUID
- LEN
- MEMFREE
- MEMORY
- MEMUSED
- OCTVAL
- OPENIN
- OPENOUT
- OPENUP
- RADIX
- RGB
- RND
- SHL
- SHR
- SOCKCLOSE
- SOCKREAD
- SOCKSTATUS
- TERMHEIGHT
- TERMWIDTH
- VAL
- String Functions
- Real Functions
-
Integer Functions
- System Libraries