¿ªÔÆÌåÓý

Function Select


 

Hi all,

Two questions to Bruce :

1. For Select, Expr# can be a string or it must be a integer ?
Example :
{select~%race%,Humain,[HM],Elfe,[EM],Inconnu}

I try it and i always get Humain

2. Can I imbricate Select functions ?
Example :
1,{select~%race%,Humain,{select~%sex%,Masculin,[HM],[HF]},Elfe,{select~sex,Masculin,[EM],[EF]},Race inconnue}

I try it and i get this error :

***ERROR on line 11 of table 'test': startIndex ne peut pas ¨ºtre sup¨¦rieur ¨¤ la longueur de la cha?ne. Nom du param¨¨tre?: startIndex(

***ERROR on line 11 of table 'test': startIndex ne peut pas ¨ºtre sup¨¦rieur ¨¤ la longueur de la cha?ne. Nom du param¨¨tre?: startIndex({select~%sex%) (SysGen). ***


Thanks

See u later

Yannick

Join [email protected] to automatically receive all group messages.