11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Caché</strong> <strong>ObjectScript</strong> CommandsWRITEDisplays output.WRITE:pc writeargument,...W:pc writeargument,...where writeargument can befexpression*integer-expressionArgumentspcfexpression*integer-expressionOptional — A postconditional expression.Optional — One or more format control code charactersthat position the output on the target device. Formatcontrol characters include !, #, ?, and /.Optional — The value to write to the output device. Anyvalid <strong>Caché</strong> <strong>ObjectScript</strong> expression, including literals,variables, object methods, and object properties thatevaluates to either a numeric or a quoted string.Optional — The decimal code for a character to writeto the output device. For ASCII, integers in the range0 to 255; for Unicode, integers in the range 0 to 65534.Any valid <strong>Caché</strong> <strong>ObjectScript</strong> expression that evaluatesto an integer in the appropriate range. The asterisk ismandatory.DescriptionThe WRITE command displays the specified output on the current I/O device. (To set thecurrent I/O device, use the USE command, which sets the value of the $IO special variable.)WRITE has two forms:• WRITE without an argument• WRITE with arguments160 <strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!