Programmer Guide > Getting Session Information > Calling INFO with Positional Parameters
  

Calling INFO with Positional Parameters
If you call INFO with parameters (but without any keyword parameters), it simply provides a one-line description of each parameter. Hence, for the PV-WAVE session described earlier, the command:
INFO, 12.0 * 23, R, I, Z, !D
gives the output:
<Expression> FLOAT = 276.000 
R BYTE = Array(256) 
I BYTE = Array(512, 512) 
Z(CBLK) INT = 12 
<Expression> STRUCT = -> !Device
As noted earlier, the one-line description of scalars prints their values, while for arrays, you see their dimensions. For structure variables, the name of the structure definition associated with the variable is printed, as shown in the last line of this example. Use INFO with the Structures, Sysstruct, or Userstruct keywords to see the form of a structure variable. These keywords are described later in this chapter.

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.