Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - text text block declaration http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 text                Text block declaration
------------------------------------------------------------------------------
 Syntax
   text [<symbol>] [<scope>]
   <body>
   endtext

 Arguments
   <symbol is the symbol name for the text block.

   <scope> is the range of visibility for the text block (public,
   static, extern).

   <body> is the body of text or other data.

 Description
   The text keyword initiates a text definition block. A text block
   defines a large body of text or other data. The string contents of a
   text block can be displayed using the ? command.

   Text blocks can be placed outside or inside of a code block. In the
   latter case the block can not have an identifier name.

   Text blocks are allocated in a far data segment. A text block can be
   up to 64 Kbytes large.

 Example
   #define EXAMPLE_KEYWORD
   #include example.hdr

   text cText
   This example demonstrates the
   endtext
   
   proc Test_text
   ? cText
   text
    use of text blocks.
   endtext
   endproc

   proc main
   Test_text()
   endproc

See Also: endtext

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