"Illegal Function Call" Using Asc with Uninitialized String (80411)
The information in this article applies to:
- Microsoft QuickBASIC 4.0
- Microsoft QuickBASIC 4.0b
- Microsoft QuickBASIC 4.5
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
- Microsoft Basic Professional Development System for MS-DOS 7.0
- Microsoft Basic Professional Development System for MS-DOS 7.1
This article was previously published under Q80411 SUMMARY
If you try to use the Asc function on a string that has been
initialized to a value of null (""), you will correctly receive an
"Illegal function call" error message. The string must be assigned to
a value other than "" (the null string) for the Asc function to return
the ASCII value of the first character in the string.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB80411 |
---|
|