Tags:
create new tag
view all tags

.TEXT SET TEXT

This subroutine is called to set the text for the "current" text object.


Usage:

      PASS         <text_string>              FIELD            SHARE? N
      GOSUB    0CD .TEXT SET TEXT
      *        Check for error
      IF       0CD .TEXT SET TEXT             NE

Description:

This subroutine sets the text for the "current" text object.

<text_string> is the text string to be assigned to the "current" text object (300 characters max). If a non-blank <text_string> is passed, then the text is set for the "current" text object. If text has been previously set, then that text is replaced. If a <text_string> is not passed or if blank text is passed, then the text is cleared.

If the text is not enclosed in quotes, those will be automatically added and any special characters will be escaped by prefixing a "\" in front. If you want to pass a "\" unchanged, enclose the text in quotes yourself, ie, pass "Some\nText" instead of Some\nText.

Comments:

Read what other users have said about this page or add your own comments.


-- JeanNeron - 2011-11-17

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2012-02-22 - JeanNeron
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback