SourcePoint AMD Help

Table of Contents

puts

Display a string in the Command window.

Syntax

puts(string-expr)

Where:

string-expr

specifies an nstring variable, quoted string constant, or an expression that evaluates to a string.

Discussion

The puts command displays a string in the Command window. ย The '\n' character is required to flush output.

Example

Command input:

define nstring date = "6/2/53\n"
puts(date)

Result:

6/2/53

Command input

puts("string constant \n")

Result:

string constant

Related Topics: