User Tools

Site Tools


mpl_functions

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mpl_functions [2016/07/18 08:36] – [Function DATEJ2G (LI : LongInt) : String] gryphonmpl_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.  This only works for users who have ANSI graphics.
 +
 +Example:
 +<code>
 +CLRSCR
 +GotoXY (1, 10)
 +WriteLn ('Hello')
 +</code>
 +The above example will clear the screen then goto the first column of the tenth line and output the text "Hello" to the screen.
 +
 +
 ==== Procedure HALT ==== ==== Procedure HALT ====
  
Line 76: Line 89:
   Halt   Halt
 End End
-</code.+</code>
 The above example will check to see if the user has ANSI graphics and if not, display "Sorry, you do not have ANSI" and exit the program immediately by using the HALT command. The above example will check to see if the user has ANSI graphics and if not, display "Sorry, you do not have ANSI" and exit the program immediately by using the HALT command.
  
mpl_functions.txt · Last modified: 2016/07/18 08:38 by gryphon

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki