Joe F. Tangco 10.Jul.06 11:44 AM a Web browser Domino Designer 6.5.5 FP1; 6.5.5; 6.5.4 FP3; 6.5.4 FP2; 6.5.4 FP1; 6.5.4; 6.5.3 FP2; 6.5.3 FP1; 6.5.3; 6.5.2 FP1; 6.5.2; 6.5.1; 6.5; 6.0.5; 6.0.4; 6.0.3; 6.0.2 CF2; 6.0.2 CF1; 6.0.2; 6.0.1 CF3; 6.0.1 CF2; 6.0.1 CF1; 6.0.1; 6.0 All Platforms
Trying to loop through all the elements in @AttachmentNames in an @For loop.
Something along the lines of:
@For(i :=1; i <= @Attachments; i := i + 1;
@prompt("Hello world!"; [OK]; @AttachmentNames[i]);
However, as you know, Lotus will never let us reference the array-index for @AttachmentNames *THAT* easily. Instead we have to write some crazy tomfoolery about @subset, @implode(@explode()) and/or something incredibly bizarre which starts to involve Evaulations of LScript.
So does anyone have this code which allows me to reference each element in @AttachmentNames in an @For loop? (I don't care how hairy it is, if any future coder has to maintain this after i've left, they can aim their crosshairs at Lotus. Whatever.)