☜ | USE1995 Version of ANSI (Equivalent to Current ISO Version) of Standard | ☞ |
U[SE] postcond SP L useargument
useargument | ::= | │ │ │ │ │ |
@ expratom V L useargument |
│ │ │ │ │ |
See 8.2.15 Open for mnemonicspace.
The value of the first expr of each useargument identifies a device (or file or data set). The interpretation of the value of this expr or of any exprs in deviceparameters is left to the implementor. (see 8.2.2 for the syntax specification of deviceparameters.)
Before a device can be employed in conjunction with an input or output data transfer it must be designated, through execution of a Use command, as the current device. Before a device can be named in an executed useargument, its ownership must have been established through execution of an Open command.
The specified device remains current until such time as a new Use command is executed. As a side effect of employing expr to designate a current device, $IO is given the value of expr.
Specification of device parameters, by means of the exprs in deviceparameters, is normally associated with the process of obtaining ownership; however, it is possible, by execution of a Use command, to change the parameters of a device previously obtained.
Distinct values for $X and $Y are retained for each device. The special variables $X and $Y reflect those values for the current device. When the identity of the current device is changed as a result of the execution of a Use command, the values of $X and $Y are saved, and the values associated with the new current device are then the values of $X and $Y.
Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.
This page most recently updated on 08-Jan-2024, 12:14:37.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)