Progress
Language Reference


RCODE-INFO System Handle

Interfaces
OS
SpeedScript
All
All
Yes

A handle to a specific Progress r-code file.

RCODE-INFO [ :attribute ] 

attribute

Specifies an attribute of the RCODE-INFO handle. The attributes are shown in this table.

Attribute
Type
Readable
Setable
CHARACTER
INTEGER
CHARACTER
CHARACTER
CHARACTER
CHARACTER

EXAMPLE

The following example prompts for the name of an r-code file and returns its CRC code and the languages for which it is compiled.

r-rcode.p
DEFINE VARIABLE rcode-file  AS CHARACTER FORMAT "x(60)" LABEL "File".

REPEAT:
  SET rcode-file WITH FRAME rc-info.
  RCODE-INFO:FILE-NAME = rcode-file.
  DISPLAY RCODE-INFO:CRC-VALUE LABEL "CRC"
    RCODE-INFO:LANGUAGES FORMAT "x(60)" LABEL "Languages"
    WITH FRAME rc-info SIDE-LABELS TITLE "R-code Check".
END. 

NOTES


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095