Jeanne A. E. DeVoto  wrote:
>> put the keys of myArray into listOfKeys
>> put 1 into i
>> repeat for each line l in listOfKeys
>>  put replaceText(myArray[l],",",tab) into line i of me
>>  add 1 to i
>> end repeat
> It's not a vertical pipe, actually - it's a lower-case "L". In this case,
> it's just being used as a variable name. (Some people use "l' as a generic
> variable for "line", but I usually try to avoid this, precisely because the
> letter "l" is so easily confused with uppercase "i", the numeral 1, and/or
> the vertical pipe "|".)

Ah. OK, that makes sense. I don't think that I realized that a variable
could be "called into existence" in the context of "for each line x", and
therefore I assumed that it was a "pipe" and that it had some hidden
significance.

Thanks for clearing that up. The list conversation on arrays has enabled me
to eliminate roughly 350 lines of code (so far) in my current project. I
believe at this point I have used some variant of every suggestion received
at different points in the process.

-- 
Troy
RPSystems
www.rpsystems.net

Reply via email to