lib-caseAnyone familiar with "select...case" statements should be relatively at home with lib-case. Put the data item to be check at the top of the stack and then 'case'. Follow with a possible test for the data item followed by a when ... end (effectively structured like a if...then). Continue doing this for each possible case and if desired, include the optional default...end case (code to be executed if no matches are found). finish up the section with an 'endcase'. <data> case A "real world" example: feaelin@kemenel.org lib-case / Revised 2004 March 31 22:06 (Wednesday) © 2004 Iain E. Davis |
![]() |
General People Recreation/Fiction GlowMuck Role-Playing Links |