mpl_functions
This is an old revision of the document!
Table of Contents
General Functions and Procedures
Function ABS (Num: LongInt) : LongInt
This function takes a signed integer and returns the absolute value. Example:
Var Int : LongInt = -1234 WriteLn('The absolute value of '+Int2str(Int) +' is '+Abs(Int)+'.')
Function ALLOWARROW (Boolean)
Used to turn on arrow key processing in the READKEY function. It is also used outside of MPL so use with caution.
Example:
AllowArrow := True ReadKey
mpl_functions.1468273908.txt.gz · Last modified: 2016/07/11 16:51 by gryphon