Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A trailing semi-colon over-rides the cursor-return so that the next PRINT begins where the last one left off. If no trailing punctuation is used with print, the cursor drops down to the beginning of the next line.

A few examples of printing enumerable objects:

Code Block
languagevb
titlePrinting Enumerable Objects
Print {} 
' this will print: <Component: roAssociativeArray> =  { }

Print {a:1} 
' this will print: <Component: roAssociativeArray> =  { a: 1 }

Print [] 
' this will print: <Component: roArray> = [ ]

Print [5] 
' this will print: <Component: roArray> = [ 5 ]

TAB (expression)
Moves the cursor to the specified position on the current line (modulo the width of your console if you specify TAB positions greater than the console width). TAB may be used several times in a PRINT list.

...