pTAL Reference Manual (H06.03+)

Contents
HP pTAL Reference Manual523746-005
xxiii
Examples (continued)
Examples (continued)
Example 13-7. Returning the Value of $OVERFLOW in a Reference
Parameter 13-16
Example 14-1. Procedure Declaration 14-4
Example 14-2. EXTENSIBLE Procedures as Actual Parameters 14-9
Example 14-3. Function With Value and Reference Formal Parameters 14-15
Example 14-4. Reference Structure as a Formal Reference Parameter 14-15
Example 14-5. Using a Referral STRUCT as a Formal Parameter 14-16
Example 14-6. Procedures 14-18
Example 14-7. FORWARD Declaration for a Procedure 14-18
Example 14-8. Function Subprocedure 14-22
Example 14-9. Procedure Entry-Point Identifiers 14-23
Example 14-10. FORWARD Declarations for Entry Points 14-24
Example 14-11. Subprocedure Entry-Point Identifiers 14-25
Example 14-12. PROCPTRs as Variables and Formal Parameters 14-30
Example 14-13. PROCPTR in a Structure 14-31
Example 14-14. PROCPTRs in Structure 14-31
Example 14-15. Code That Uses the Structure in Example 14-14 on
page 14-31 14-31
Example 14-16. PROCPTRs as Formal Parameters 14-32
Example 14-17. Assignments to PROCPTRs 14-33
Example 14-18. Assignments to PROCPTRs 14-34
Example 14-19. Dynamically Selected Procedure Call 14-35
Example 14-20. Dynamically Selected Procedure Call 14-36
Example 14-21. IF Statements Identified by Labels 14-37
Example 15-1. Built-In Routine With Address Parameter 15-2
Example 15-2. Built-In Routine With Address Output Parameter 15-3
Example 15-3.
$ATOMIC_ADD Routine 15-5
Example 15-4.
$ATOMIC_AND Routine 15-6
Example 15-5. $ATOMIC_DEP Routine 15-7
Example 15-6. $ATOMIC_GET Routine 15-8
Example 15-7. $ATOMIC_OR Routine 15-9
Example 15-8. $ATOMIC_PUT Routine 15-10
Example 15-9. $ABS Routine 15-23
Example 15-10.
$ALPHA Routine 15-24
Example 15-11.
$ASCIITOFIXED Routine 15-25
Example 15-12. $AXADR Routine 15-26
Example 15-13. $BADDR_TO_EXTADDR Routine 15-27
Example 15-14. $BADDR_TO_WADDR Routine 15-27