.pg .x item .x Obsolete Macros > item .lt ------------------------------------------------------------------------ ITEM size,code,bufaddr ITEM size,code,bufaddr,retlen ------------------------------------------------------------------------ .el .b 3 The ITEM macro will allocate the appropriate item list structure. .b If ^&bufaddr\& is not specified, 0 is assumed. .b For example: .b .lt get_jpi_list: ITEM 12,jpi$_username,username,username_length ITEM 4,jpi$_uic,uic,uic_length .long 0 .el .b would generate the following code for a call to the $GETJPI System Service: .b .lt get_jpi_list: .word 12 .word jpi$_username .address username .address username_length .word 4 .word jpi$_uic .address uic .address uic_length .long 0 .el .b and: .b .lt file_scan_list: ITEM 0,fscn$_name ITEM 0,fscn$_type ITEM 0,fscn$_version .long 0 .el .b would generate the following code for a call to the $FILESCAN System Service: .b .lt file_scan_list: .word 0 .word fscn$_name .address 0 .word 0 .word fscn$_type .address 0 .word 0 .word fscn$_version .address 0 .long 0 .el