Would someone test and confirm a gpf with the following code.
It appears the complier is miising the fact there is a RETURN with no
prior GOSUB.
James
It appears the complier is miising the fact there is a RETURN with no
prior GOSUB.
James
Code:
#COMPILE EXE #DIM ALL '--------------------------------------------------------------------------- FUNCTION _ TestIt ( _ BYVAL Var1 AS LONG _ ) AS LONG DIM L1 AS LONG L1 = 44 'compiler misses RETURN without GOSUB RETURN END FUNCTION '--------------------------------------------------------------------------- FUNCTION _ PBMain ( _ ) AS LONG TestIt 22 END FUNCTION
Comment