Microsoft KB Archive/51415

= PDS 7.00 Alert FUNCTION Return Value Description Incorrect =

Article ID: 51415

Article Last Modified on 8/16/2005

-

APPLIES TO


 * Microsoft BASIC Professional Development System 7.0
 * Microsoft BASIC Professional Development System 7.1

-



This article was previously published under Q51415



SUMMARY
The Alert FUNCTION in the WINDOW.BAS file of the User Interface (UI) Toolbox is incorrectly described in the documentation. On Page 553 of the &quot;Microsoft Basic 7.0: Language Reference&quot; manual (for 7.00 and 7.10), the &quot;Syntax&quot; section incorrectly shows that the Alert FUNCTION will return a string. The &quot;Remarks&quot; section and the source code in WINDOW.BAS correctly show that the Alert FUNCTION actually returns an INTEGER from 1 to 3.



MORE INFORMATION
The &quot;Syntax&quot; section of the Alert FUNCTION description reads as follows: Syntax  variablename$ = Alert(style%,text$,row1%,...etc. It should read as follows:   Syntax   variablename% = Alert(style%,text$,row1%,...etc. The dollar sign ($) appended to &quot;variablename&quot; should be a percent sign (%) because the Alert FUNCTION returns an integer.

Additional query words: BasicCom SR# S891101-66

Keywords: KB51415

-

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

© Microsoft Corporation. All rights reserved.