Function items_show

This function displays the line items for the order in the screen array and returns immediately.

Function items_show (orders.4gl):
01 FUNCTION items_show()
02   DISPLAY ARRAY arr_items TO sa_items.*
03       BEFORE DISPLAY
04         EXIT DISPLAY
05   END DISPLAY
06 END FUNCTION
Note:
  • Line 02 executes a DISPLAY ARRAY statement with the program array containing the line items.
  • Line 03 and 04 exit the instruction before control is turned over to the user.