3 Mar
2003
3 Mar
'03
2:19 p.m.
Continuing my tests on range check, i'm rtfm... On the HIGH keyword part, it's said that "For array types or variables of that type, @samp{High} returns the highest index a variable of that type can assume." Same for LOW. So, i'm expecting, in the example --- program highlow; var a : array[1..100]of integer; procedure hilo(ar : array of integer); begin writeln(LOW(ar),' ',HIGH(ar)) end; begin hilo(a); end. --- that it write 1 100 but it's currently saying 0 99 Why not, but, i think it's not what's said in the documentation... Am i still "out of the game"? Am i using a too old version?
8563
Age (days ago)
8563
Last active (days ago)
2 comments
2 participants
participants (2)
-
Francois Schoubben -
Frank Heckenbach