1. The manual states something to the effect that GLOBAL variables are not recognized by DLLs created by PB/DLL and that variables have to be passed to them even if the DLLs contain the same GLOBAL variables. If I have to pass, for example, 50 variables to a DLL, how would I go about doing that? Is there not a limit to the number of variables passed in the argument list?
2. Can GLOBAL variables be accessed by another app executing at the same time?
3. At compile time, the compiler does not honor DEFtype with variables in the GLOBAL section and issues an error that it expected "AS" type. It also issues an error that variables with the same name but different type are duplicate. I know that
Field% = CVI(Field$)
is poor practice ( although in this case it is descriptive) but when converting someone else's DOS app, it is better to leave his variables as they are so he can see what has been done without a great deal of written explanation. Anyway, the question is:
Is that a fluke of the compiler?
2. Can GLOBAL variables be accessed by another app executing at the same time?
3. At compile time, the compiler does not honor DEFtype with variables in the GLOBAL section and issues an error that it expected "AS" type. It also issues an error that variables with the same name but different type are duplicate. I know that
Field% = CVI(Field$)
is poor practice ( although in this case it is descriptive) but when converting someone else's DOS app, it is better to leave his variables as they are so he can see what has been done without a great deal of written explanation. Anyway, the question is:
Is that a fluke of the compiler?
Comment