6 messages in org.openoffice.fr.prog[prog] OOo Basic ne veut pas de mon "...
FromSent OnAttachments
TroumadMar 19, 2005 12:27 pm 
TroumadMar 19, 2005 12:40 pm 
TroumadMar 19, 2005 1:11 pm 
TroumadMar 19, 2005 1:41 pm 
Agnès SimonetMar 19, 2005 10:15 pm 
TroumadMar 19, 2005 10:31 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[prog] OOo Basic ne veut pas de mon "a" !Actions...
From:Troumad (trou@libertysurf.fr)
Date:Mar 19, 2005 12:27:46 pm
List:org.openoffice.fr.prog

Bonjour

Si dans l'exemple suivant, je remplace "a" par Mid(racine,1,1) (par exemple), ça marche, alors que dans le cas présent, ça plante en signalant : Runtime error BASIC. Valeur de propriété incorrecte.

Pour moi, tout devrait être bon, j'avoue que je suis planté !

function conjugue (determinant as string, racine as string,forme as string) as string dim chaine as string dim place as integer

place=InStr(forme,"</i><i>") if determinant="je" then chaine=Mid(racine,1,1) if chaine="a" then ' or c="e" or c="ê" or c="é" or c="è" or c="i" or c="o" or c="u" chaine="j'"