Assignment command (LangX COBOL)

The Assignment command assigns the value of an expression to a specified reference. It is the equivalent of the COBOL COMPUTE statement.

Read syntax diagramSkip visual syntax diagram
>>-'--receiver--'--=--'--sourceexpr--'--;----------------------><

receiver
A valid Debug Tool LangX COBOL reference enclosed in apostrophes (').
sourceexpr
A valid Debug Tool LangX COBOL expression enclosed in apostrophes (').

Usage notes

Examples

Refer to the following topics for more information related to the material discussed in this topic.