× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I did not find in the API doc for Qp0zGetEnv [could not find it by search, only by API list] any sizes, but the CL commands suggest in the help text that ADDENVVAR limits _environment variable name_ to a maximum of 128 bytes in length and limits _value_ to a maximum of 1024 bytes in length." Are the real maximums consistent with those program sources?

My CL version of RTVENVVAR using getenv() shares the same limits as the above commands. The *PTR type was problematic for me [as Scott alluded] because there is no documented manner [not that I could find] to test for a *NULL, except the proper age-old MCH3601 monmsg\rcvmsg; seems that if I was given a TYPE(*PTR), I really should also be able to compare to %addr(*NULL)??

FWiW regarding the *PTR: In testing I did notice that the null pointer was always getting set to an /AF/ [so called; another I am more familiar with is the /FB/ null], so for laziness, and to see if it might ever give a different result, I do not monitor a mch3601 so that the the possibility of anything other than an /AF/ pointer is manifest as a *FC so the failed assumption is obvious.

Regards, Chuck

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.