On Mon, 16 Feb 1998 14:40:21 -0500 (EST), Orlando Llanes wrote:
Another thing to note is that GPC will return the actual first and last element number, but BP starts it at 0 and ends on the last element. For example, if the index goes from -1 to 4, BP will treat it as 0..6 whereas GPC (and any Standard Pascal compliant Pascal Compiler?) will treat it as -1..4 (don'tcha just LOVE GPC?!?!?!?! :)
Um, so Low()/High() return the indices of the lower/upper bound of the array, right? [Just making sure I understood the examples, as I have no experience with these BP functions]
It seems to me that the GPC behavior makes more sense (and would return more useful values), or was that your point? What good does Low() do in BP if it always returns a 0?
-Kevin
-- Kevin A. Foss --- kfoss@mint.net