Hallo Martin,

Du schriebst am Sun, 3 Nov 2013 10:36:41 +0100:

> I think string and array indices should be zero based.

There's no deeper reason for this. Any starting value does.

> array[0..9] of integer; -> array[10] of integer;
> Opinions?

You're free to do it. Pascal allows any arbitrary starting value.

Just be prepared to answer questions as to why you did it that way.

I.e.: _Why_ on earth do you think an index should start at 0 when everybody
else starts counting at _one_? ;-)

(Or the equivalent for any starting value.)

-- 
-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
-----------------------------------------------------------
Mit freundlichen Grüßen, S. Schicktanz
-----------------------------------------------------------



------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to