View Single Post
Old 10-21-2010, 07:43 AM   #8
Sweetpea
Grand Sorcerer
Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.
 
Sweetpea's Avatar
 
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
Quote:
Originally Posted by chaley View Post
This is an excellent suggestion. You would need as many arms in the switch as the highest series number, at most 10.

As long as you are on a roll, how would you deal with the second level of indexing? Would you use something like
{#sis:lookup(0.$,0000-0009,1.$,0010-0019,2.$,0020-0029,....}
More of the same. But why the lookup? I thought lookup was the same as switch but with fieldnames instead of values?
Sweetpea is offline   Reply With Quote