slang-users mailing list

[2005 Date Index] [2005 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [slang-users] slang 2: foreach(List_Type)


Joerg Sommer <joerg@xxxxxxxxxxxx> wrote:
>does in slang 2 the foreach loop iterate across a list? It seams not, but
>what is correct?

I plan to release another snapshot tonight with this feature.  Until
then try:

   _for i (0, length(list)-1, 1)
     {
        elem = list[i];
	  .
	  .
     }

Thanks,
--John

_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html


[2005 date index] [2005 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]