KB#00499-Problem with the ALL keyword and arrays in PRO/5
Problem with the ALL keyword and arrays in PRO/5
This program works in BBx/4 but not in PRO/5:
0010 DIM AA,BB
0030 IF BB[ALL]<>AA[ALL] THEN LET BB[ALL]=AA[ALL]
The behavior under PRO/5 is correct. Basically, PRO/5 cannot execute line 30 because it involves the ALL operator. BBx can make an assignment based on ALL (a[ALL]=b[ALL]), but it cannot use it in the condition as mentioned. This never actually worked in PROGRESSION/4 either. In PROGRESSION/4, it was treating the ALL keyword as a normal, non-reserved numeric variable. Therefore, unless your program assigned a value to the numeric variable 'all', the condition BB[ALL]<>AA[ALL] really was treated like BB<>AA.
Last Modified: 01/29/1998 Product: PRO/5 Operating System: All platforms
BASIS structures five components of their technology into the BBx Generations.