Why wouldn't it work? SetVariable will do the job, but "#listgetat(ErrorFlags,i)#" = "" should work too. In this case, you can't get rid of the quotes & #!


Pascal

-----Oorspronkelijk bericht-----
Van: Ben Doom [mailto:[EMAIL PROTECTED]
Verzonden: vr 7/11/2003 18:14
Aan: CF-Talk
CC:
Onderwerp: Re: Another <cfscript> question.


ListGetAt() returns a string, so what you are saying is essentially the
same as

"some string goes here" = "";
--Ben Doom

Che Vilnonis wrote:

> // Loop through the list and define all default values.
> for(i=1; i LTE listlen(ErrorFlags); i = i + 1)
> if (NOT isDefined("#listgetat(ErrorFlags,i)#")) {listgetat(ErrorFlags,i) =
> "";}
> </cfscript>

  _____  


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to