How to resolve the algorithm Special variables step by step in the PL/I programming language
Published on 12 May 2024 09:40 PM
How to resolve the algorithm Special variables step by step in the PL/I programming language
Table of Contents
Problem Statement
Special variables have a predefined meaning within a computer programming language.
List the special variables used within the language.
Let's start with the solution:
Step by Step solution about How to resolve the algorithm Special variables step by step in the PL/I programming language
Source code in the pl/i programming language
Special variables in PL/I are termed "Pseudo-variables".
They are used only on the LHS of an assignment statement.
They include:
REAL to assign the real part of a COMPLEX variable;
IMAG to assign the imaginary part of a COMPLEX variable;
SUBSTR is used to assign part of a string (used on the LHS of an assignment);
STRING when used on the left-hand of an assignment;
UNSPEC used to assign a bit pattern to a variable;
ENTRYADDR is used to assign an address to an ENTRY variable that is
to be invoked;
ONCHAR resets the current value of the CHAR built-in function (when
a data conversion error occurs, and it is desired to re-attempt
the conversion);
ONSOURCE assigns a new value to the ONSOURCE built-in function
(may be used when a data conversion error occurs,
and a re-try of the conversion is to be attempted with modified data);
ONGSOURCE assigns a new value to the ONGSOURCE built-in function
(may be used when a data conversion error occurs,
and may be used when a re-try of the conversion is to be
attempted with modified data).
You may also check:How to resolve the algorithm Left factorials step by step in the Scheme programming language
You may also check:How to resolve the algorithm Jump anywhere step by step in the Ruby programming language
You may also check:How to resolve the algorithm Hostname step by step in the Standard ML programming language
You may also check:How to resolve the algorithm Sort three variables step by step in the Sidef programming language
You may also check:How to resolve the algorithm Hello world/Text step by step in the JSE programming language