1. PDS provides a method for obtaining an ASM + BASIC code listing at compile time which I have found invaluable for tweeking and debugging. Is there a method for obtaining a comparable listing in PB3.5?
2. Sometimes, but not in every case, when I declare a sub procedure using BYVAL in the argument list, I receive the compile error "TYPE MISMATCH, MAY REQUIRE BY COPY." Is there some sort of special syntax that is not documented and sometimes I do it correctly and sometimes not? For Example:
DEFINT A - Z
DECLARE MySub(BYVAL F)
DECLARE SomeSub(A$, B, C)
CALL SomeSub(B$, C, D)
END
SUB SomeSub(C$, Q, R)
CALL MySub(F)
END SUB
SUB MySub(BYVAL G)
END SUB
Will sometimes produce the error, while othertimes it will not.
2. Sometimes, but not in every case, when I declare a sub procedure using BYVAL in the argument list, I receive the compile error "TYPE MISMATCH, MAY REQUIRE BY COPY." Is there some sort of special syntax that is not documented and sometimes I do it correctly and sometimes not? For Example:
DEFINT A - Z
DECLARE MySub(BYVAL F)
DECLARE SomeSub(A$, B, C)
CALL SomeSub(B$, C, D)
END
SUB SomeSub(C$, Q, R)
CALL MySub(F)
END SUB
SUB MySub(BYVAL G)
END SUB
Will sometimes produce the error, while othertimes it will not.
Comment