(go to: table of contents, index, list of vms_lib, prev: PUT_COMMON, next: RADIX_POINT)
Format:
None
Arguments:
PUT_OUTPUT - Put Line to SYS$OUTPUT
The Put Line to SYS$OUTPUT routine writes a record to the current
controlling output device, specified by SYS$OUTPUT using the RMS $PUT service.
30-SEP-1998 ZE.
vms_lib.put_output (message_string)
Returns:
Examples:
>>> import vms_lib
>>> message_string = 'data 1234'
>>> print vms_lib.put_output (message_string)
data 1234 <-- output from LIB$PUT_OUTPUT
None <-- return-value from put_output()
>>> print vms_lib.put_output ()
Traceback (innermost last):
File "<stdin>", line 1, in ?
TypeError: function requires exactly 1 argument; 0 given
>>> print vms_lib.put_output (1)
Traceback (innermost last):
File "<stdin>", line 1, in ?
TypeError: argument 1: expected read-only buffer, int found
>>> print vms_lib.put_output ("1", "2")
Traceback (innermost last):
File "<stdin>", line 1, in ?
TypeError: function requires exactly 1 argument; 2 given
>>>
(go to: table of contents,
index,
list of vms_lib,
prev: PUT_COMMON,
next: RADIX_POINT)