GETSTRING


7.8.5, PLBCMP GUI Only

 

The GETSTRING instruction retrieves a character string from a resource file. The instruction uses the following format:

 

 

[label]

GETSTRING

{resource}{sep}{dest}

 

Where:

label

Optional. A Program Execution Label.

resource

Required. A valid string resource number.

sep

Required. A comma or one of the following prepositions: BY, TO, OF, FROM, USING, WITH, IN, or INTO.

dest

Required. A previously defined Character String Variable that receives the data.

Flags Affected: EOS

Note the following:

  1. The {resource} operand looks up a string resource from the program, and the string is then loaded into the result operand.

  2. If the string is longer than the {dest} variable, or the resource number is not found, the EOS flag is set.

  3. This instruction is not supported by the PLB Web Server.

 

 

See Also: GETINFO, System Interface Instructions

 



PL/B Language Reference GETPARM LOADADR