GLCDPrintStringLn

Syntax:

    GLCDPrintStringLn( String )

Explanation:

Prints string character(s) at a current XY location on the GLCD screen.

Where String is a String or String variable of the data to display

This command will move to the start of the next line after the string has been displayed

Example:

    GLCDPrintStringLn ( "1.First Ln" )          ' <<< the GLCDPrintStringLn instruction
    GLCDPrintStringLn ( "2.Second Ln" )
    GLCDPrintStringLn ( "" )
    GLCDPrintStringLn ( "4.Forth Ln" )
    GLCDLocateString( 0, 5 )
    GLCDPrintString ( "5." )
    GLCDPrintStringLn ( "Fifth Ln" )

    GLCDPrintStringLn ( "6.Sixth Ln" )
    GLCDLocateString( 0, 3 )
    dim val3 as Byte
    val3 = 3
    GLCDPrintStringLn ( str( val3 ) + ".Third Ln" )

Key line: GLCDPrintStringLn ( "1.First Ln" ) — prints the string and then advances the string pointer to the start of the next line, so each successive call in this example lands on its own line without an explicit GLCDLocateString call.

See Also: