No so much, but In Pascal you need to do:

if ... then
  begin  //WARNING: If use more than a sentence, you need BEGIN-END
    ...
  end  //DANGER: Don't put semicolon!!!!!
else if ... then
  begin  //WARNING: If use more than a sentence, you need BEGIN-END
  ...
  end  //DANGER: Don't put semicolon!!!!!
else
  begin  //WARNING: the same before.
   //some code
  end;  //DANGER: Put semicolon!!!!!



________________________________
De: Marcos Douglas B. Santos <m...@delfire.net>
Enviado: domingo, 11 de junio de 2017 03:51 p.m.
Para: General list for MSEide+MSEgui
Asunto: Re: [MSEide-MSEgui-talk] MSElang Objects

On Sun, Jun 11, 2017 at 12:31 PM, Edson H <dev_nul...@hotmail.com> wrote:
>
> Instead of?
>
> if ... then
>   ...
> elsif ... then
>   ...
> elsif ... then
>   ...
> else
>   ...
> end;
>
>
> Don't see this like nested IF. It's just a multiple conditional. More at the 
> style of Modula-2 and the new language syntax.

Do you think that there are any difference — semantically speaking —
between your code and my below?
I'm using just Pascal...

---
> if ... then
>   ...
> else if ... then
>   ...
> else if ... then
>   ...
> else
>   ...
> end;
---

Best regards,
Marcos Douglas

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
mseide-msegui-talk Info Page - 
SourceForge<https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk>
lists.sourceforge.net
mseide-msegui-talk -- General list for MSEide+MSEgui About mseide-msegui-talk


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to