Date: prev next · Thread: first prev next last
2025 Archives by date, by thread · List index


Bonsoir et merci Bernard,

Si j'ai bien compris

*Version ElseIF*

If Condition Then

 Instruction

 ElseIF Condition Then

 Instruction

 ElseIF Condition Then

 Instruction

 Else

 Instruction

End IF

*Version Else IF*

If Condition Then

 Instruction

 Else IF Condition Then

 Instruction

End IF

 Else IF Condition Then

 Instruction

End IF

 Else

 Instruction

End IF

Donc l'aide est incomplète

A bientôt

Jean-Luc

Le 10/09/2025 à 17:31, Bernard Siaud alias Troumad a écrit :
Bonsoir

Je viens de faire un test, le "else if" marche. On doit rajouter un endif si on remplace un "elseif" par un "else if"


Version: 25.8.1.1 (X86_64)
Build ID: 54047653041915e595ad4e45cccea684809c77b5
CPU threads: 8; OS: Linux 6.12; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded


Le 10/09/2025 à 15:46, linux a écrit :
Bonjour à toutes et tous,

Contrairement aux indications de l'aide, l'instruction Else If (ElseIf avec un espace entre Else et If) ne peut être utilisée.

Est ce une erreur de l'aide ou de l'interpréteur Basic ?

Faite vous le même constat que moi?

Merci par avance de vos retours

Jean-Luc


PC 1

Version: 7.6.6.3 (X86_64) / LibreOffice Community
Build ID: d97b2716a9a4a2ce1391dee1765565ea469b0ae7
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster;
VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: CL threaded

PC 2

Version: 24.8.7.2 (X86_64) / LibreOffice Community
Build ID: e07d0a63a46349d29051da79b1fde8160bab2a89
CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 19045); UI render:
Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded




--
Envoyez un mail à qa+unsubscribe@fr.libreoffice.org pour vous désinscrire
Les archives de la liste sont disponibles à https://listarchives.libreoffice.org/fr/qa/
Privacy Policy: https://www.documentfoundation.org/privacy

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.