Subroutines

Top  Previous  Next

One of the most important constructs in programming is the subroutine. XPL0 has four different kinds of subroutines:

 

      Procedures,

      Functions

      Intrinsics

      Externals

 

Here is detailed information on using subroutines:

 

• Procedures
• Local and Global
• Arguments
• Nesting
• Return
• Functions
• Intrinsics
• Scope *
• Recursion *
• Forward Procedures *
• Forward Functions *
• Include *
• External Procedures *
• Assembly-Language Externals *
• External .I2L Procedures *

 

 

 

.