1. Why does this code work:
FUNCTION SomeFunc(BYVAL A, BYVAL B) AS DWORD
END FUNCTION
while this code does not:
SUB SomeSub(BYVAL A, BYVAL B) AS DWORD
END SUB
2. Since the FUNCTION semantic works above, how would one go about making it PUBLIC since PB seems to accept only one argument on the header line?
3. UDTs and UNIONS
I understand that UNION makes a UDT more flexible, but I don't understand how, ie, the semantics set up to allow the user to decided for himself the type or style of data he wants to enter. The PB manual is very skimpy on this subject (along with a number of other things).
4. How does one go about accessing the PB code archives? There have been several posts that mention them, but so far, I have not been able to find them.
Thanks
FUNCTION SomeFunc(BYVAL A, BYVAL B) AS DWORD
END FUNCTION
while this code does not:
SUB SomeSub(BYVAL A, BYVAL B) AS DWORD
END SUB
2. Since the FUNCTION semantic works above, how would one go about making it PUBLIC since PB seems to accept only one argument on the header line?
3. UDTs and UNIONS
I understand that UNION makes a UDT more flexible, but I don't understand how, ie, the semantics set up to allow the user to decided for himself the type or style of data he wants to enter. The PB manual is very skimpy on this subject (along with a number of other things).
4. How does one go about accessing the PB code archives? There have been several posts that mention them, but so far, I have not been able to find them.
Thanks
Comment