Hi Is there a substitute function to the switch() function or must I do a cascade of if... else... stuff ? -- >> WinErr: 080 Clavier introuvable - Veuillez appuyer sur n'importe quelle touche pour continuer. << Arnaud LECAT >> Email: lecat@hexanet.fr >> WWW page:www.hexanet.fr/~lecat HEXANET >> http://www.hexanet.fr Z.A. Farman sud - 9 rue Roland Coffignot BP 415 - 51689 Reims Cedex 2 - France phone: (33) 03 26 79 30 05 Fax: (33) 03 26 79 30 06
Arnaud Lecat wrote:
Hi
Is there a substitute function to the switch() function or must I do a cascade of if... else... stuff ?
Use elif: <dtml-if "cond=1"> **** <dtml-elif "cond>1"> **** <dtml-elif "cond < 0"> **** </dtml-if> regards, -- Paulo Eduardo Neves maito:neves@email.com Rio de Janeiro - Brasil
participants (2)
-
Arnaud Lecat -
Paulo Eduardo Neves