[fpc-pascal] alias a function + overload 'in'

David Emerson dle3ab at angelbase.com
Sun Dec 18 06:07:10 CET 2011


two little questions

1. Is it possible to make an alias to a function ... so rather than just 
re-calling with the same parameters, it's actually the same thing? like the way 
we can do, e.g., type natural = cardinal, or const GG = 6, but with a function?

2. is it possible to overload the 'in' operator, so that it may work (using 
supplied code) on things that are not a pascal set?

Thanks!
~David.




More information about the fpc-pascal mailing list