mpl_functions
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mpl_functions [2016/07/18 08:18] – [Function INPUT (Field: Byte, Max: Byte, Mode: Byte, Default: string) : String] gryphon | mpl_functions [2016/07/18 08:38] (current) – [Function DATEJ2G (LI : LongInt) : String] gryphon | ||
|---|---|---|---|
| Line 65: | Line 65: | ||
| This function takes a julian date format and converts it to a gregorian format (MMDDYY). | This function takes a julian date format and converts it to a gregorian format (MMDDYY). | ||
| + | ==== Procedure GOTOXY (X: Byte, Y:Byte) ==== | ||
| + | |||
| + | This procedure will move the cursor to a specified X and Y position on the screen. | ||
| + | |||
| + | Example: | ||
| + | < | ||
| + | CLRSCR | ||
| + | GotoXY (1, 10) | ||
| + | WriteLn (' | ||
| + | </ | ||
| + | The above example will clear the screen then goto the first column of the tenth line and output the text " | ||
| + | |||
| + | |||
| + | ==== Procedure HALT ==== | ||
| + | |||
| + | This procedure will exit the program and return the user back to the BBS immediately. | ||
| + | |||
| + | Example: | ||
| + | < | ||
| + | If Graphics = 0 Do | ||
| + | Begin | ||
| + | WriteLn (' | ||
| + | Halt | ||
| + | End | ||
| + | </ | ||
| + | The above example will check to see if the user has ANSI graphics and if not, display " | ||
| + | |||
| + | ==== Function INITIALS (String) : String ==== | ||
| + | |||
| + | This function takes a user name and attempts to return one or two character initials. | ||
| + | < | ||
| + | S := Initials(' | ||
| + | </ | ||
| ==== Function INPUT (Field: Byte, Max: Byte, Mode: Byte, Default: string) : String ==== | ==== Function INPUT (Field: Byte, Max: Byte, Mode: Byte, Default: string) : String ==== | ||
mpl_functions.1468847895.txt.gz · Last modified: by gryphon
