CLOCK INI


PLBCMP GUI Only

The INI keyword retrieves a specific value associated with a keyword within the current program information (ini) file.

 

  1. If the variable is null, the OVER flag is set.

  2. If the string variable contains a keyword defined in the file, the value assigned to that keyword is retrieved. The keyword is not case sensitive and the entire keyword must be given.

  3. The OVER flag is set if no matching keyword is found, and cleared if a match is found.

  4. The EOS flag is set if the value is truncated to fit the variable.

  5. By default, the keyword is retrieved from the "[environment]" section of the file.

  6. To access keywords from other sections of the file, precede the keyword with the section name (no brackets) and a semicolon (;).

  7. The runtime searches as many as three .INI files in the following locations:

  8. When searching for a keyword, the runtime looks in (A), then (B), and finally (C) for the keyword. The intent is to allow (C) to contain information common to the entire system. (B) might contain information unique to the particular user or machine. (A) might contain information unique to a particular application set.

  9. When running under PLBSERVE, the CLOCK INI instruction will look in PLBCLIENT.INI or the current ini file for the client before searching A, B, or C.

 

 

See Also: Example Code, CLOCK, System Interface Instructions

 



PL/B Language Reference