bas7advr.hlp (
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
DRAW Statement - Differences from BASICA
◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
DRAW Statement - Differences from BASICA
■ Some DRAW statements that are allowable in BASICA programs require
modification when used with the BASIC compiler. Specifically, the
compiler requires the VARPTR$ form for variables. For example, the
BASICA statement
DRAW "TA = Angle" ' Angle is a variable.
must be changed for the BASIC compiler as follows:
DRAW "TA =" + VARPTR$(Angle)
■ The BASIC compiler does not support the BASICA
Xstringexpression
command. However, you can execute a substring by appending the
character form of the address to X. For example, the following two
statements are equivalent. The first statement works when within the
environment and when using the compiler, while the second works only
within the QBX environment.
DRAW "X" + VARPTR$(A$)
DRAW "XA$"