basic.:
Concatenation operator.
Syntax
expression : expression crt/print expression {:} input @(x,y):variable ...
Description
concatenates strings in an assignment statement or, when the ':' appears at the end of a 'print' or 'crt' expression, suppresses the automatic carriage return/linefeed combination, thus holding the current print/display position. It is also used as a token within the 'input @' statement.
Example
z = 'Amount due = ':amount
print z
Variable 'z' is assigned the result of the string expression,
'Amount due = ' concatenated to the value of the variable
'amount'
print 'Enter command ':
The string 'Enter command ' is printed and the cursor is left at the
end of the string.
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
