What is the difference between case else and case otherwise

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

What is the difference between case else and case otherwise

Dennis
There is no details on http://www.freepascal.org/docs-html/ref/refsu57.html

Thanks in advance.

Dennis
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: What is the difference between case else and case otherwise

Anthony Walter-3
In GNU Pascal otherwise is synonymous to else.


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: What is the difference between case else and case otherwise

Sven Barth-2
In reply to this post by Dennis

Am 20.06.2016 17:19 schrieb "Dennis" <[hidden email]>:
>
> There is no details on http://www.freepascal.org/docs-html/ref/refsu57.html

There is none by itself (except that "otherwise" is Extended ISO Pascal compliant). The only visible difference would be if you'd have a if-statement as last case statement as an "else" would belong to the if while an "otherwise" would belong to the case.

Regards,
Sven


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal