e.g.
// function swap
// on entry XA and XB pointer variables that refer
// to 8 bit integer 'char' variables whose values
// are to be swapped
proc swap(char *XA, char *XB)
char temp
temp = *XA
*XA = *XB
*XB = temp
endproc
// function swap_long
// on entry XA and XB pointer variables that refer
// to 32 bit integer 'long' variables whose values
// are to be swapped
proc swap_long(long *XA, long *XB)
long temp
temp = *XA
*XA = *XB
*XB = temp
endproc
proc main()
char fred, bert
long jack, jill
// NOTE: here we pass the addresses of
// fred and bert (not their values) by
// using the address of operator
swap(& fred, & bert)
// NOTE: here we pass the addresses of
// jack and jill (not their values) by
// using the address of operator
swap_long(&jack, &jill)
endproc