Input Array Problem under AIX 3
Posted in 1995
Here is a question to those who can help with INPUT ARRAY. This code snippit works under SCO but not under AIX: If I display the value of pa_slots.[p_curr].data after the assignment, the value DOES get defaulted. If I pause after the DISPLAY statement, the data is on the screen. When control returns to the INPUT ARRAY statement, the data is cleared. Any clues? CODE SNIPPIT: -------------------------------------------------------------------------- INPUT ARRAY pa_slots WITHOUT DEFAULTS FROM sr_slots.* BEFORE ROW LET p_curr = scr_line() # # If this is not the first line, default the data from one element to the next # IF p_curr != 1 THEN IF LENGTH(pa_slots[p_curr].data) != 0 THEN LET pa_slots[p_curr].data = pa_slots[p_curr-1].data DISPLAY pa_slots[p_curr].data TO sr_slots[p_curr].data END IF END IF END INPUT ------------------------------------------------ Versions: I4GL SCO 4.11.UC1 I4GL AIX 4.12.UE1 AIX 3.2 granholm@digex.net Medic Computer Systems, Inc.