Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualOlof Hedman

Posted 29 June 2013 - 05:25 AM

I think the non-programmer would incorrectly say "That pascal code ignites 14 cars", when it in fact ignites 15 cars, which is more clear in the C++-code.

 

But I guess you made a typo, and intended to write  "for i:=1 to 15 do", since it seems many pascal programmers prefer to let their array indices start at 1, and then the pascal syntax is a tiny bit clearer.


#1Olof Hedman

Posted 29 June 2013 - 05:19 AM

I think the non-programmer would incorrectly say "That pascal code ignites 14 cars", when it in fact ignites 15 cars, which is more clear in the C++-code.


PARTNERS