How to Compare User-Defined Type Variables in Basic PDS (88479)
The information in this article applies to:
- Microsoft Basic Professional Development System for MS-DOS 7.0
- Microsoft Basic Professional Development System for MS-DOS 7.1
- Microsoft QuickBASIC 4.0, when used with:
- the operating system: MS-DOS
- Microsoft QuickBASIC 4.0b, when used with:
- the operating system: MS-DOS
- Microsoft QuickBASIC 4.5, when used with:
- the operating system: MS-DOS
This article was previously published under Q88479 SUMMARY
The relational operators (=, <>, and so on) do not support the
comparison of user-defined type variables. You can compare user-
defined type variables by converting the variables to strings, then
comparing the strings. Use PEEK, VARPTR, and CHR$ to convert a
user-defined type variable to a string.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB88479 |
---|
|