Appendix C. Index of Keywords by Function

List of LynPlex keywords sorted by the function they perform.

Program flow

Arrays

Attach
Statement attach one array/subarray to another
delete
5.04 Array Commands
Erase
unknown
Insert
5.04 Array Commands
LBound
unknown
origin
5.04 Array Commands
5.06 Array Searching
Preserve
unknown
range
5.04 Array Commands
5.06 Array Searching
ReDim
Statement redimension an array, preserve contents
search
5.06 Array Searching
Size()
Intrinsic size of string or array in bytes
sort
5.05 Array Sort
To
Auxiliary in FOR…NEXT blocks and ATTACH statements
UBound
unknown

Bit manipulation

Bit
unknown
BitField()
Intrinsic define bitfield constant or variable
unknown
BitReset
unknown
BitSet
unknown
Clr()
Intrinsic clear bit field in integer
unknown
ExtS()
Intrinsic extract signed bit field
unknown
ExtU()
Intrinsic extract unsigned bit field
unknown
HiByte
unknown
HiWord
unknown
High0()
Intrinsic find bit number of most significant 0 bit
unknown
High1()
Intrinsic find bit number of most significant 1 bit
unknown
LoByte
unknown
LoWord
unknown
Make()
Intrinsic make a bit-field
unknown
Set()
Intrinsic set specified range of bits = 1s
unknown

Compiler switches

Explicit
Auxiliary all variables in program must be explicitly declared in every function
unknown
Library
Statement reserved
unknown
option
Statement specify compiler options for the following code
1.10 Command Line and Instream Options
Option Base
Option Basic
Option ByVal
Option Dynamic
Option Escape
Option Explicit
Option Implicit
Option NoKeyword
Option Plex
Option Private
Option Static
Program
Statement begins and names a program
1.10 Command Line and Instream Options
Version
Statement define version number of program
1.10 Command Line and Instream Options

Console

at
3.02 Stream Output
3.05 Consoles
beep
3.05 Consoles
clear
3.05 Consoles
Cls
unknown
Colour/Color
3.05 Consoles
console
Statement build program as subsystem console application
3.05 Consoles
CsrLin
unknown
cursor
3.05 Consoles
fullscreen
3.05 Consoles
fx
3.05 Consoles
put
3.02 Stream Output, 3.05 Consoles
Locate
unknown
reset
3.05 Consoles
Screen (Console)
unknown
Tab
Intrinsic append spaces to PRINT string to get to column n
unknown
View (Console)
unknown
Width
unknown
Window
3.05 Consoles
Write
unknown

Data types and declarations

As
3.07 File Input and Output
Byte
unknown
Const
1.03 Language Overview
2.02 Data Control
DComplex
Statement declare variables to be type DCOMPLEX
unknown
Dim
Statement dimension an array and zero contents
unknown
Double
Statement declare variables to be type DOUBLE
unknown
End Type
Statement end of TYPE structure
unknown
End Union
Statement end a UNION overlay within a TYPE block
unknown
Enum
unknown
FuncAddr
Statement declare variable to be FUNCADDR type
unknown
Giant
Statement declare variable to be type GIANT
unknown
GoAddr
Statement declare variable to be type GOADDR
unknown
Integer
unknown
isarray
4.08 Data Variable Functions
isempty
4.08 Data Variable Functions
isnumber
4.08 Data Variable Functions
isstring
4.08 Data Variable Functions
local
1.07 Procedures, Functions and Subroutines, 2.02 Data Control, 2.08 Procedures and Functions
Long
unknown
LongDouble
Statement declare variables to be type LONGDOUBLE
unknown
LongInt
unknown
Packed
Statement declare/define user-defined composite packed data type
unknown
SByte
Statement declare variables to be type SBYTE
unknown
SComplex
Statement declare variables to be type SCOMPLEX
unknown
Scope
unknown
Shared
Statement declare variables to have SHARED scope
1.07 Procedures, Functions and Subroutines
2.02 Data Control
2.08 Procedures and Functions
Short
unknown
Single
Statement declare variables to be type SINGLE
unknown
SLong
Statement declare variables to be type SLONG
unknown
SShort
Statement declare variables to be type SSHORT
unknown
SShort
Statement declare variables to be type SSHORT
unknown
Static
Statement declare variables to be STATIC scope
unknown
String
Statement declare variables to be type STRING
unknown
SubAddr
Statement declare variables to be type SUBADDR
unknown
Type
Statement declare/define user-defined composite data type
unknown
Type (Alias)
unknown
UByte
Statement declare variables to be type UBYTE
unknown
UInteger
unknown
ULong
Statement declare variables to be type ULONG
unknown
ULongInt
unknown
Union
Statement begins a union overlay within a TYPE block
unknown
Unsigned
unknown
UShort
Statement declare variables to be type USHORT
unknown
Var
unknown
With
unknown
XLong
Statement declare variables to be type XLONG
unknown
ZString
unknown

Date and time

Date
6.01 Date
6.02 Time
DateAdd
DateDiff
DateAdd
DatePart
DateSerial
DateValue
unknown
Day
Hour
Minute
Month
MonthName
Now
Second
Year
Weekday
WeekdayName
unknown
IsDate
unknown
SetDate
SetTime
unknown
Time
6.01 Date, 6.02 Time
TimeSerial
TimeValue
unknown
Timer
unknown

Debug support

Assert
AssertWarn
unknown
Stop
Statement stop program execution here
2.10 Ending a Program
Trace
8.04 Interactive Trace and Debug

Error handling

Erfn
Erl
Ermn
unknown
Err
unknown
Error
Intrinsic return and/or set error number
unknown
ErrStr
Intrinsic convert error number to error string
unknown
Local
unknown
On Error
unknown
Open Err
unknown
Resume
unknown
Resume Next
unknown
ReTry
unknown

Files

Access
unknown
Append
unknown
Binary
unknown
BLoad
unknown
BSave
unknown
Close
Intrinsic close disk, console, or communications file
3.04 Input Templates
Encoding
unknown
EOF
Intrinsic is file pointer beyond end of file
3.10 EOF/SEEK/LOF
file
3.01 File Handling
3.02 Stream Output
FreeFile
unknown
Get
3.03 Stream Input
3.04 Input Templates
3.05 Consoles
Get # (File I/O)
unknown
InFile()
Intrinsic return next string from an open file
unknown
InLine()
Intrinsic return a line from the standard input device
unknown
Input
3.07 File Input and Output
Input (File I/O)
unknown
Input #
unknown
Line Input #
unknown
Line Input #
unknown
Load
3.07 File Input and Output, 8.03 Interactive Mode Commands
LOC
unknown
Lock
unknown
Lock
unknown
LOF()
Intrinsic length of file in bytes
3.10 EOF/SEEK/LOF
off
3.05 Consoles
on
3.05 Consoles
Open
Intrinsic open a disk, console, or communications file
3.01 File Handling
3.04 Input Templates
3.05 Consoles
Output
3.04 Input Templates
POF()
Intrinsic position of file pointer
unknown
Put
Statement write to console, disk, or communications file
3.02 Stream Output, 3.05 Consoles
Put # (File I/O)
unknown
Put Using #
unknown
Random
unknown
Read (File Access)
Statement read from file into variables
unknown
Read Write (File Access)
unknown
Reset
unknown
save
3.07 File Input and Output
8.03 Interactive Mode Commands
Seek (Statement)
3.10 EOF/SEEK/LOF
Seek (Function)
Intrinsic set file pointer position
3.10 EOF/SEEK/LOF
stream
3.07 File Input and Output
Unlock
unknown
Write #
Statement write variables to a file
unknown
Write (File Access)
unknown

Graphics

Add (Graphics Put)
unknown
Alpha (Graphics Put)
unknown
And (Graphics Put)
unknown
Circle
unknown
Cls
unknown
Color
unknown
Custom (Graphics Put)
unknown
Draw
unknown
Draw String
unknown
Flip
unknown
Get (Graphics)
unknown
ImageConvertRow
unknown
ImageCreate
unknown
ImageDestroy
unknown
ImageInfo
unknown
Line
unknown
Or (Graphics Put)
unknown
Paint
unknown
Palette
unknown
PCopy
unknown
PMap
unknown
Point
unknown
PReset
unknown
PSet
unknown
Pset (Graphics Put)
unknown
Put (Graphics)
unknown
RGB
unknown
RGBA
unknown
Screen
unknown
ScreenControl
ScreenCopy
ScreenEvent
ScreenInfo
ScreenGLProc
ScreenList
ScreenLock
ScreenPtr
ScreenRes
ScreenSet
ScreenSync
ScreenUnlock
unknown
Trans (Graphics Put)
unknown
View (Graphics)
unknown
Window
unknown
Xor (Graphics Put)
unknown

Assignment Operators

= (Assignment)
unknown
:= (Concatenate And Assign)
unknown
+= (Add And Assign)
unknown
-= (Subtract And Assign)
unknown
*= (Multiply And Assign)
unknown
/= (Divide And Assign)
unknown
\= (Integer Divide And Assign)
unknown
^= (Exponentiate And Assign)
unknown
Let (Assignment)
unknown
Let() (Assignment)
unknown
Mod= (Modulus And Assign)
unknown
And= (Conjunction And Assign)
unknown
Eqv= (Equivalence And Assign)
unknown
Imp= (Implication And Assign)
unknown
Or= (Inclusive Disjunction And Assign)
unknown
Shl= (Shift Left And Assign)
unknown
Shr= (Shift Right And Assign)
unknown
Xor= (Exclusive Disjunction And Assign)
unknown

Arithmetic Operators

+ (Add)
unknown
- (Subtract)
unknown
* (Multiply)
unknown
/ (Divide)
unknown
\ (Integer Divide)
unknown
^ (Exponentiate)
unknown
Mod (Modulus)
arithmetic MODULUS operator
unknown
- (Negate)
unknown
ROTATEL()
rotate word left n bits
unknown
ROTATER()
rotate word right n bits
unknown
Shl (Shift Left)
unknown
Shr (Shift Right)
unknown
DEC
decrement numeric variable
unknown
INC
increment a numeric variable
unknown

Bitwise operators

Logical operators

And
bitwise AND (integer only)
2.04 Conditional Execution
Appendix D. Operators and Special Characters
AndAlso
unknown
Eqv
unknown
Imp
unknown
Imp
unknown
Not
bitwise NOT operator (invert all bits)
Appendix D. Operators and Special Characters
Or
bitwise OR operator
2.04 Conditional Execution
Appendix D. Operators and Special Characters
OrElse
unknown
Xor
bitwise exclusive-OR operator
unknown

Mathematical Functions

Abs()
absolute value
7.02 Numeric Functions
absmax
7.02 Numeric Functions
absmin
7.02 Numeric Functions
Acos
7.05 Trigonometry
acosh
7.05 Trigonometry
Asin
7.05 Trigonometry
asinh
7.05 Trigonometry
atan
7.05 Trigonometry
Atan2
7.05 Trigonometry
atanh
7.05 Trigonometry
Atn
7.05 Trigonometry
ceil
round to positive infinity
7.04 Rounding
Cos
7.05 Trigonometry
cosh
7.05 Trigonometry
deg
7.03 Angular Unit Conversion
Exp
7.06 Logarithms
Fix
integerize with round towards zero
7.04 Rounding
floor
7.04 Rounding
Frac
7.04 Rounding
Int
integer part of number
7.04 Rounding
Log
7.06 Logarithms
log10
7.06 Logarithms
max
return maximum of two arguments (larger)
7.02 Numeric Functions
HiVal
return maximum of two arguments (larger)
7.02 Numeric Functions
mdl
Appendix D. Operators and Special Characters
min
return minimum of two arguments (smaller)
7.02 Numeric Functions
LoVal
return minimum of two arguments (smaller)
7.02 Numeric Functions
mod
Appendix D. Operators and Special Characters
pow
7.02 Numeric Functions
round()
round to nearest whole number
7.04 Rounding
roundNE()
round to nearest whole number, to nearest even if fraction is 0.5
7.04 Rounding
Sgn()
sign of number (-1, 0, +1)
7.02 Numeric Functions
Sign()
sign of number (-1, +1)
7.02 Numeric Functions
Sin
7.05 Trigonometry
sinh
7.05 Trigonometry
Sqr
7.02 Numeric Functions
Tan
7.05 Trigonometry
tanh
7.05 Trigonometry

Random Number Generation

Memory

Allocate
unknown
CAllocate
unknown
Clear
unknown
Deallocate
unknown
DoubleAt()
read/write DOUBLE value into specified memory address
unknown
FuncAddress()
get address of function
unknown
GoAddrAt()
read/write GOADDR value directly into memory
unknown
GoAddress()
get address of GOTO label
unknown
GiantAt()
read/write GIANT value into specified memory address
unknown
LongDoubleAt()
read/write LONGDOUBLE value into specified memory address
unknown
Reallocate
unknown
SBYTEAT()
read/write SBYTE value into specified memory address
unknown
SINGLEAT()
read/write SINGLE value into specified memory address
unknown
SLONGAT()
read/write SLONG value into specified memory address
unknown
SSHORTAT()
read/write SSHORT value into specified memory address
unknown
SUBADDRAT()
read/write SUBADDR value into specified memory address
unknown
SUBADDRESS()
get address of subroutine
unknown
UBYTEAT()
read/write UBYTE value into specified memory address
unknown
ULONGAT()
read/write ULONG value into specified memory address
unknown
USHORTAT()
read/write USHORT value into specified memory address
unknown
XLONGAT()
read/write XLONG value into memory at specified address
unknown

Miscellaneous

Asm
used to start a line of inline assembly
unknown
Any
unknown
Data
store data to be retrieved using READ
3.02 Stream Output
3.07 File Input and Output
End
1.08 Loops, Links and Branches
2.04 Conditional Execution
2.06 Grouping Statements
2.07 Loops and Iteration
Let
2.02 Data Control
use
5.06 Array Searching
OffsetOf
unknown
Option()
unknown
Option()
unknown
Read
unknown
Restore
unknown
Size()
unknown
Swap
swap the values of the same type
unknown
Type()
unknown
using
3.02 Stream Output

Modularizing

Common
1.07 Procedures, Functions and Subroutines
2.02 Data Control
Export
export type, constant, function declarations
unknown
Extern
unknown
external
declare variables to be EXTERNAL scope
1.07 Procedures, Functions and Subroutines
2.02 Data Control
Import
import a function library
1.11 External Procedures and Functions
NoLoad
import a function library
1.11 External Procedures and Functions
include
1.11 External Procedures and Functions
Internal
declare function to have INTERNAL scope
unknown
Namespace
unknown
Private
unknown
Public
unknown
Using (Namespaces)
unknown

OS / Shell

Procedures

unknown
Alias
unknown
Any
unknown
ByRef
2.08 Procedures and Functions
ByVal
2.08 Procedures and Functions
Call
1.08 Loops, Links and Branches
6.07 Event Processing
CFunction
declare/define C function or C callable function
unknown
Const
unknown
Constructor
unknown
Destructor
unknown
Declare
declare function prototype
2.08 Procedures and Functions
func
1.07 Procedures, Functions and Subroutines, 2.08 Procedures and Functions
Function
declare/define a function
1.07 Procedures, Functions and Subroutines, 2.08 Procedures and Functions
Pascal
unknown
Private
unknown
proc
1.07 Procedures, Functions and Subroutines, 2.08 Procedures and Functions
procedure
1.07 Procedures, Functions and Subroutines, 2.08 Procedures and Functions
Protected
unknown
Property
unknown
Public
unknown
Static
unknown
SFunction
declare or define a “system” function
unknown
Sub
begin a subroutine
unknown
Stdcall
unknown
This
unknown
Void
declare that a function returns no value
unknown

String functions

centre/center
4.03 Left, Right and Centre
chop
4.04 String Trimming and Squeezing
InChr()
find first search-set character in string
unknown
InChrI()
case insensitive INCHR()
unknown
InStr()
find first substring in string
4.05 String Searching
InStrI()
case insensitive INSTR()
4.05 String Searching
RInChr()
same as INCHR except reverse search direction
unknown
RInChrI()
same as RINCHR() except case insensitive
unknown
RInStr()
same as INSTR() except reverse search direction
4.05 String Searching
RInStrI()
same as RINSTR() except case insensitive
4.05 String Searching
lcase
(Intrinsic) Converts contents of string to lower case
4.07 String Conversions
Lower/LCase
left
4.03 Left, Right and Centre
Len()
number of elements in string
4.08 Data Variable Functions
join
4.06 SPLIT and JOIN
like
4.09 IN and LIKE, Appendix D. Operators and Special Characters
lower
4.07 String Conversions
LTrim()
trim spaces and tabs from left of string
unknown
Mid
4.03 Left, Right and Centre
Null()
create string of n null characters
4.03 Left, Right and Centre
repeat
(Intrinsic) Returns a string of repeating characters
4.07 String Conversions
Repeat
replace
(Intrinsic) Replaces part of a string.
4.07 String Conversions
Repeat
right
4.03 Left, Right and Centre
RTrim()
trim spaces and tabs from right end of string
unknown
Size()
size of string or array in bytes
unknown
space
(Intrinsic) Returns a string of spaces
4.07 String Conversions
Space
4.07 String Conversions
split
4.06 SPLIT and JOIN
swap
4.08 Data Variable Functions
squeeze
4.04 String Trimming and Squeezing
stuff
4.07 String Conversions
Trim
remove spaces and tabs from left & right of string
4.04 String Trimming and Squeezing
triml
4.04 String Trimming and Squeezing
trimr
4.04 String Trimming and Squeezing
translate
(Intrinsic) Replaces part of a string.
4.07 String Conversions
Translate
ucase
(Intrinsic) Converts contents of string to upper case
4.07 String Conversions
Upper/UCase
upper
4.07 String Conversions
unwrap
4.10 Wrap and UnWrap
wrap
4.10 Wrap and UnWrap

String and number conversion

Bin()
Intrinsic binary format string of integer (010010111…)
4.02 String/Number Conversions
Chr()
4.02 String/Number Conversions
Chr
CLen()
Intrinsic count number of bytes before 1st zero byte
unknown
CString()
Intrinsic convert C string into native string
unknown
DHigh()
Intrinsic extract high 32-bits from DOUBLE
unknown
DLow()
Intrinsic extract low 32-bits from DOUBLE
unknown
DMake()
Intrinsic make DOUBLE from two 32-bit integers
unknown
Double()
Intrinsic convert numeric or string to type DOUBLE
unknown
Format
Intrinsic create a formatted string from format spec and value
3.02 Stream Output
FuncAddr()
Intrinsic convert to type FUNCADDR
3.02 Stream Output
GHigh()
Intrinsic extract high 32-bits from GIANT
unknown
Giant()
Intrinsic convert to type GIANT
unknown
GLow()
Intrinsic extract low 32-bits from GIANT
unknown
GMake()
Intrinsic create GIANT from two 32-bit integers
unknown
GoAddr()
Intrinsic convert to type GOADDR
unknown
Hex()
Intrinsic create hexadecimal string form of integer
4.02 String/Number Conversions
LongDouble()
Intrinsic convert numeric or string to type LONGDOUBLE
unknown
Oct()
Intrinsic octal string from integer (1234567012…)
4.02 String/Number Conversions
ord
4.02 String/Number Conversions
Ord
SByte()
Intrinsic convert to type SBYTE
unknown
Signed()
Intrinsic convert to type STRING (leading “-” or “+”)
unknown
Single()
Intrinsic convert to type SINGLE
unknown
SLong()
Intrinsic convert to type SLONG
unknown
SMake()
Intrinsic make a type SINGLE from a 32-bit integer value
unknown
SShort()
Intrinsic convert to type SSHORT
unknown
Str
Intrinsic convert to type STRING (leading “-” or “ ”)
4.02 String/Number Conversions
String
Intrinsic convert to type STRING (leading “-” or “”)
4.07 String Conversions
SubAddr
Intrinsic convert to type SUBADDR
4.07 String Conversions
Type
Intrinsic return type number of variable, array, component
4.07 String Conversions
UByte()
Intrinsic convert variable to type UBYTE
unknown
ULong()
Intrinsic convert variable to type ULONG
unknown
UShort()
Intrinsic convert variable to type USHORT
unknown
Val
4.02 String/Number Conversions
XLong()
Intrinsic convert variable to type XLONG
unknown
XMake()
Intrinsic retype to XLONG from any type (MSW if GIANT/DOUBLE)
unknown

User input

Get
unknown
GetJoystick
unknown
GetKey
unknown
GetMouse
unknown
Inkey
3.03 Stream Input
3.04 Input Templates
3.05 Consoles
Input
3.07 File Input and Output
Input (Statement)
3.07 File Input and Output
Line Input
unknown
MultiKey
unknown
SetMouse
unknown
Stick
unknown
Strig
unknown

Predefined symbols

$$date
unknown
$$time
unknown
$$line
unknown
$$program
Intrinsic return program name defined by PROGRAM statement
unknown
$$version
Intrinsic return version number defined by VERSION statement
unknown
$$library
Intrinsic returns $$TRUE if compiled as library
unknown

lynplex/lp0c.txt · Last modified: 2016/09/21 18:54 (external edit)