Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone,
The following script doesn't assign the value to the variable, and I was wondering why:
LOAD * INLINE [A
23
74
342
2];
LET vMax = MAX(A);
Because the Max() function can only be used in a LOAD statement:
Data:
LOAD * INLINE [A
23
74
342
2];
Max:
LOAD Max(A) as MaxA
Resident Data;
LET vMax = Peek('MaxA',0,'Max');
Because the Max() function can only be used in a LOAD statement:
Data:
LOAD * INLINE [A
23
74
342
2];
Max:
LOAD Max(A) as MaxA
Resident Data;
LET vMax = Peek('MaxA',0,'Max');