Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Clipper Tools One Guide - <b>strscreen()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
STRSCREEN()

Syntax:     STRSCREEN(<expC>[,<expN1>][,<expN2>])

Arguments:  <expC> is the string to be displayed.
            <expN1> specifies the first line for the display (default:
            cursor line).
            <expN2> specifies the first column for the display (default:
            cursor column).

Returns:    A character string.
            A null string is always returned.

Usage:      SRTSCREEN() can be used to put the contents of a variable
            onto the screen, although the variable must be in a specific
            format.  It will always be necessary to have a character, an
            attribute, a character again etc.

            <expN1> will determine the first line and <expN2> the first
            column from which to start writing.

Warning:    The string must also contain the attribute bytes.  The
            combined numerical attributes can be easily produced with
            the aid of COLORTON().  The cursor position will not be
            changed in the output.

Library:    CT1.LIB


--------------------------------- Example ------------------------------

Examples:   * Output "ABC" at the actual cursor position
            * with different attributes for each symbol.
            STRSCREEN("A"+CHR(1)+"B"+CHR(2)+"C"+CHR(3))

            * Output "ABC" with different attributes at
            * the actual cursor column in line 24.
            STRSCREEN("A"+CHR(1)+"B"+CHR(2)+"C"+CHR(3),24)

            * Output "ABC" with different attributes from
            * column 70 in line 24.
            STRSCREEN("A"+CHR(1)+"B"+CHR(2)+"C"+CHR(3),24,70)



See Also: SCREENSTR()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson