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 8 of 9 Topic 167 of 211
Post > Topic >>

Re: New version of IP Pascal demo available

by Scott Moore <samiam@[EMAIL PROTECTED] > Jul 23, 2005 at 08:22 PM

Chris Burrows wrote:
> "Scott Moore" <samiam@[EMAIL PROTECTED]
> wrote in message 
> news:3Mqdnd-eK7anK3zfRVn->
> 
>>4. Oberon style array declarations. Its possible to declare arrays using
a
>>shorthand notation as in Oberon:
>>
>>type a = array 10 of integer;
>>
> 
> 
> Note that in Oberon this is a zero-based array equivalent to the Pascal
> 
>   type a = array [0..9] of integer;
> 
> whereas in IP Pascal it is defined as a 1-based array equivalent to
> 
>   type a = array [1..10] of integer
> 
> --
> Chris Burrows
> CFB Software
> http://www.cfbsoftware.com/gpcp
> 
> 
> 

Everything stays base 1 in IP. Even file elements are 1..length(f).

I don't really care if a langauge is 1 or 0 based, as long as its
consistent.

-- 
Samiam is Scott A. Moore

Personal web site: http:/www.moorecad.com/scott
My electronics engineering consulting site: http://www.moorecad.com
ISO 7185 Standard Pascal web site: http://www.moorecad.com/standardpascal
Classic Basic Games web site: http://www.moorecad.com/classicbasic
The IP Pascal web site, a high performance, highly portable ISO 7185
Pascal
compiler system: http://www.moorecad.com/ippas

Good does not always win. But good is more patient.




 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:40:16 CDT 2008.