User Tools

Site Tools


mpl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
mpl [2016/07/11 16:43] – [Mystic Programming Language] gryphonmpl [2016/07/11 16:51] gryphon
Line 318: Line 318:
  
 At the moment, constant variables cannot be used in certain places within the MPE engine.  If you are assigning a value to a variable, constant values will not be recognized. At the moment, constant variables cannot be used in certain places within the MPE engine.  If you are assigning a value to a variable, constant values will not be recognized.
-====== 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.txt · Last modified: 2016/07/13 21:27 by g00r00

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki