What I mean is that SP2 receives a pointer and passes a pointer; because
it does not do anything else with the pointer, it technically does not
really matter what the pointer points to. It might be a character field, a
data structure, a packed field or anything else. It would make more sense
to pass the pointer by value, but you can't use VALUE in a program
prototype.

That it won't compile is because of a mismatch between prototype (PR) and
procedure interface (PI). If you make sure they match, the compiler will
happily accept it.

Joep Beckeringh


David FOXWELL

Not sure what you mean there. It won't compile if I change the type
because of the prototype mismatch, but if I change it to 1
character, I get the same results.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.