Caché MultiValue PROC Reference
S
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Class Reference   
Search:    

Sets a pointer in the active input buffer.
Synopsis
S [field]
Arguments
field Optional — A field number. Specified as a number or as a reference to a buffer or a select list that contains the field number.
Description
The S PROC command sets the primary input buffer (PIB) pointer to a specified field within the buffer. If field is larger than the number of fields in the PIB, S adds the specified number of empty elements.
Emulation
In Caché, UniVerse, and PICK, S +field is equivalent to S field. In all other emulations, S +field is equivalent to S 1.
REALITY emulation does not add empty elements when field is larger than the number of fields in the PIB.
See Also