Zaka E-Lab wrote:
>
> I'm not sure if the code snippet I'll put there is or not standard:
>
> ..........
> case v of
> 1 : do_something;
> 2 : do_something;
> else do_other_thing;
> ..........
>
> I have the problem with the else sentence. I have read the
> Pascal ISO 7185 :1990, and I think that is not standard,
> but I want to be sure before I stop using it.
It is non-standard. Some systems use it as an extension. Others
use the "otherwise" word instead, as does ISO10206, extended
Pascal. Don't forget the 'end' to terminate the case statement.
--
Merry Christmas, Happy Hanukah, Happy New Year
Joyeux Noel, Bonne Annee.
Chuck F (cbfalconer at maineline dot net)
<http://cbfalconer.home.att.net>
--
Posted via a free Usenet account from http://www.teranews.com


|