Microsoft KB Archive/58027

= Basic PDS 7.10 Allows Line Numbers 40 Digits Long; Correction =

Article ID: 58027

Article Last Modified on 11/21/2006



This article was previously published under Q58027



SUMMARY
Microsoft Basic Professional Development System (PDS) versions 7.00 and 7.10 for MS-DOS and MS OS/2 are enhanced to allow line numbers as long as 40 numbers (characters) long. However, Page 697 of Appendix A in the &quot;Microsoft Basic 7.0: Programmer's Guide&quot; (for 7.00 and 7.10) incorrectly states that the largest line number possible is 65,529.

The following code example demonstrates using large line numbers in Basic PDS 7.00 and 7.10 ON KEY(1) GOSUB 1234567890123456789012345678901234567891 KEY(1) ON  CLS PRINT &quot;starting&quot; WHILE a$ <> &quot;q&quot; AND a$ <> &quot;Q&quot; a$ = INKEY$ WEND END

1234567890123456789012345678901234567891            PRINT &quot;That is the F1 key&quot; PRINT &quot;Hit 'q' or 'Q' to quit&quot; RETURN

Additional query words: BasicCom SR# S900120-1

Keywords: KB58027

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.