Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

RESPEC

RESPEC changes the attributes of the expression x to the type t without changing the bit value of the expression.

Read syntax diagramSkip visual syntax diagram>>-RESPEC--(:--t--,--x--:)-------------------------------------><
 
t
Name of a scalar type
p
A scalar expression

x must have the same as t, and if either x or t is UNALIGNED BIT, then both must be (in which case the function is somewhat uninteresting since it would do nothing).

As an example, if t is a type with the attributes LIMITED ENTRY, then RESPEC( t, sysnull() ) would return a "null" function pointer.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)