PROCEDURE identifier "'" PUT '(' type IN identifier2 ')' IS statement_block END PROCEDURE FUNCTION identifier "'" GET RETURN type IS statement_block END FUNCTION
A pseudo-variable is a sub-program, or pair of sub-programs that work as if they are variables. If a 'PUT procedure is defined, any assignment to identifier is replaced by a call to the identifier'PUT procedure. Similarly, if a 'GET function is defined, any time the associated value is used is an implicit call to the function.
If both a 'GET and 'PUT sub-program are defined, the parameter type of the 'PUT must match the return type of the 'GET.
FUNCTION pin'GET() RETURN BIT IS return pin_shadow END FUNCTION PROCEDURE pin'PUT(BIT in xx) IS pin_shadow = xx port = port_shadow END PROCEDURE pin = 5