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 - ?? display values on console location http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ??                  Display values on console location
------------------------------------------------------------------------------
 Syntax
   [@ uRow, uCol ] ?? [expressions]

 Arguments
   uRow is the screen row of the cursor's position.

   uCol is the screen column of the cursor's position.

   expressions is a comma-separated list of expressions that evaluate
   to any displayable data type.

 Description
   The ?? command is similar to the ? command, except that it does not
   output a leading CR/LF before expressions. This results in the output
   to occur at the current cursor or printer head column, while the ?
   command's output always goes to column 0.

   Output can be explicitly positioned using the optional uRow and uCol
   arguments.

   See the ? command for more details on directing and formatting the
   output.

 Example
   #define EXAMPLE_SCREEN
   #include example.hdr

   proc Test_816
   vardef
      uint i
   enddef
   clear
   ?? "This prints in the first line..."
   ?? "so does this."
   ?
   ?? "This", "is", "some", "Text"
   ?
   ?? 1234, 1234:4, 1234
   ?
   ?
   // This demonstrates how to display numbers in columns without the
   // need to add all expressions to one ? statement.
   //
   for i := 0 to 15
      ?? i:5
      ?? i * i:5
      ?? i * 1000:6
      ?
   next
   endproc

   proc main
   Test_816()
   endproc

See Also: ? ??? say

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