Print: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
(Created page with "PRINT [''expressionA''[, ''expressionB''[, ''expressionC''[, ...]]]] '''Description''' PRINT writes text to the output window. PRINT writes up to 20 comma-delimited expressi...")
 
No edit summary
Line 1: Line 1:
PRINT [''expressionA''[, ''expressionB''[, ''expressionC''[, ...]]]]
Print [''expressionA''[, ''expressionB''[, ''expressionC''[, ...]]]]


'''Description'''
== Description ==


PRINT writes text to the output window. PRINT writes up to 20 comma-delimited expressions, separating each with a tab and appending a carriage return. When used without expressions, PRINT, writes a blank line to the output window.
Print writes text to the output window. Print writes up to 20 comma-delimited expressions, separating each with a tab and appending a carriage return. When used without expressions, Print, writes a blank line to the output window.


You may not see the output from this statement if you are using forms, since the forms may cover the output window.
You may not see the output from this statement if you are using forms, since the forms may cover the output window.


PRINT output is formatted as HTML: any valid HTML expression may be used, including images and links.
Print output is formatted as Html: any valid Html expression may be used, including images and links.


'''Example'''
== Example ==


<pre>
<pre>
REM PRINT Example
Rem Print Example
'PRINT writes text to the output window
'Print writes text to the output window
PRINT "Hello World!"
Print "Hello World!"
PRINT
Print
PRINT "The time is", NOW
Print "The time is", Now
</pre>
</pre>


'''Output'''
== Output ==


<pre>
<pre>
Line 25: Line 25:
The time is  8/18/1998 10:52:44 PM
The time is  8/18/1998 10:52:44 PM
</pre>
</pre>
[[Category:Language Reference]]

Revision as of 02:40, 17 August 2012

Print [expressionA[, expressionB[, expressionC[, ...]]]]

Description

Print writes text to the output window. Print writes up to 20 comma-delimited expressions, separating each with a tab and appending a carriage return. When used without expressions, Print, writes a blank line to the output window.

You may not see the output from this statement if you are using forms, since the forms may cover the output window.

Print output is formatted as Html: any valid Html expression may be used, including images and links.

Example

Rem Print Example
'Print writes text to the output window
Print "Hello World!"
Print
Print "The time is", Now

Output

Hello World!
The time is   8/18/1998 10:52:44 PM