Thanks

Paul Isaacs <[email protected]> Mon, 7 Mar 2016 02:56:36 -0500
Newsgroups gmane.comp.compilers.gpc
Message-ID <[email protected]>
Hello Gale and Waldek,

Thank you for your extensive replies. I will change over to using "gp".

I notice that "inverse ord" is mentioned in the spec as an addition. 
However, other than a single mention, the spec is silent on inverse ord. 
Was such a thing implemented? The Gnu Pascal manual does not include the 
word "inverse".

I would like to do a binary search on a set of keywords whose value is 
specified in a "TokenTypes" enumeration. The range of the array that 
stores the keywords and their value is the enumeration.

Is it possible to compute the enumeration that is midway between two 
other enumerations? In other words is it possible to find an enumeration 
from its "ord" value?

Regards,

Paul Isaacs


_______________________________________________
Gpc mailing list
[email protected]
https://www.g-n-u.de/mailman/listinfo/gpc