qbasic.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.
Typed variable not allowed in expression
Variables of a user-defined data type cannot be passed as
arguments. For example, the following expression, where X
is a user-defined data type, is not permitted:
 
CALL ALPHA(X)
 
You can, however, pass elements of a user-defined data type
as arguments, as follows:
 
CALL Alpha(X.FirstEl)