Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Ansi -iso > Re: New version...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 9 Topic 167 of 211
Post > Topic >>

Re: New version of IP Pascal demo available

by CBFalconer <cbfalconer@[EMAIL PROTECTED] > Jul 24, 2005 at 10:56 AM

Chris Burrows wrote:
> "CBFalconer" <cbfalconer@[EMAIL PROTECTED]
> wrote in message
>>
>> 'else' for this operation fouls up many parsing schemes.  In
>> particular it fouls extended Pascal compatibility, and it just
>> isn't needed.  You can always guard a case statement.
> 
> Following the same sort of logic, a Case statement 'just isn't
> needed'. You can always implement it as a series of if-then-elses.
> However, case statements and associated else / otherwise statements
> do provide a more convenient way of clearly expressing some
> algorithms than the alternative options. Moreover, the resulting
> code often can be implemented to perform more efficiently.

You miss the point.  ISO7185 Pascal does not allow an ELSE in case
statements.  ISO10206 does, provided it is named OTHERWISE.  IP
Pascal claims to be ISO7185 conformant.  With this extension it is
not.  ISO 7185 programs can be compiled on ISO10206 systems.  With
this extension they cannot.  Error recovery schemes often depend a
small set of allowable follow symbols - this fouls that up. 
OTHERWISE is a workable extension, ELSE is not.

-- 
Chuck F (cbfalconer@[EMAIL PROTECTED]
) (cbfalconer@[EMAIL PROTECTED]
)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>
 USE worldnet address!




 9 Posts in Topic:
New version of IP Pascal demo available
Scott Moore <samiam@[E  2005-07-22 20:15:13 
Re: New version of IP Pascal demo available
CBFalconer <cbfalconer  2005-07-23 12:31:05 
Re: New version of IP Pascal demo available
Scott Moore <samiam@[E  2005-07-23 08:41:01 
Re: New version of IP Pascal demo available
"Chris Burrows"  2005-07-24 17:58:27 
Re: New version of IP Pascal demo available
CBFalconer <cbfalconer  2005-07-24 10:56:59 
Re: New version of IP Pascal demo available
Scott Moore <samiam@[E  2005-07-24 09:27:05 
Re: New version of IP Pascal demo available
"Chris Burrows"  2005-07-24 10:32:52 
Re: New version of IP Pascal demo available
Scott Moore <samiam@[E  2005-07-23 20:22:42 
Re: New version of IP Pascal demo available
CBFalconer <cbfalconer  2005-07-24 04:47:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri May 16 23:45:34 CDT 2008.