On 02/11/2013 12:14 AM, Peter Cheney wrote:
Does a DCOUNT get evaluated again for each iteration of a loop?
Or is UniVerse these days intelligent enough to keep track of what's going on?
for i = 1 to dcount(array,@fm)
totalattributes = dcount(array,@fm)
for i = 1 to totalattributes
Apart from readability and perhaps easier debugging is there an actual internal
I know it was an issue on older pick releases but I cannot remember if it ever
Not sure about universe, but unidata defintely checks the DCOUNT for
each iteration. This produces 4 (not 2):
FOR I=1 TO DCOUNT(X,@VM)
IF I<=2 THEN
X<1,-1> = 99
Jeffrey Butera, PhD
Associate Director for Application and Web Services
U2-Users mailing list