View Single Post
Old 10-21-2010, 08: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: 8,069
Karma: 22730000
Join Date: Dec 2008
Location: Krewerd
Device: AVTN8; BBMini; Onyx Boox T68; SGN8
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