Learning VBScript by Paul Lomax The unconfirmed error reports are from readers. They have not yet been approved or disproved by the author or editor and represent solely the opinion of the reader. If you have technical questions or error reports, you can send them to booktech@oreilly.com. Please specify the printing date of your copy. This page was last updated March 26, 2007 Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification UNCONFIRMED errors and comments from readers: [8] Figure 1-5; Using MSIE Version 5.5 (Script engine build 5207) under Win200 Pro (Service Pack 2). The parameters in the Subs (e.g.) "Sub Cals2_MouseMove(s,b,x,y)" seem to prevent the code from being executed. I finally got the code to be executed when I went through all the Object_MouseMove and Object_OnMouseMove subs and removed the parameters from them all. I think that only the Object_OnMouseMove subs are actually being executed. It may be that the code never worked but I doubt that so I'm guessing it's a change in the DOM or engine that's causing the difficulty. [27] Both Figures on page 27 show this error: The examples given are not running with the current version of VBScript (Version 5). Anything accessing frames seemsto screw up. Thats pretty much all the early examples. This appears as a customer comment elsewhere on the site but I can't find any fix for it. Please help, I have only had this book a few hours. (63) 2nd paragraph (Calling Scripts Directly from HTML Elements); The line reads: The second method of calling a script, which will probably appeal to those of you with JavaScript experience, specifies the procedu re name as part of the HTML object definition, as in the following definMyButtonition of an intrinsic HTML command button: MyButton is placed in the middle of the word definition {90} The first sentence of the 2nd full paragraph now reads: "The functions UBound and LBound can be used to find the lower index and the upper index, respectively, of an array." Should read: "The functions LBound and UBound can be used to find the lower index and the upper index, respectively, of an array." [93] Figure 3-4; The array indexes are backwards. They should be: 0,0 0,6 3,0 3,6 {96} In Table 5-5, the third line of the description for Key Property now reads: "is oCollec.Item(Index) where Index is the one-" Should read: "is oCollec.Key(Index) where Index is the one-" {107} The third sentence of the 2nd paragraph reads: "If both expression1 and expression2 are strings, the 'greater' string is the one that is the longer." The way this reads, "abc" would be greater than "zz." Perhaps this should be further explained that if the strings are identical for the length of the shorter string, then the longer string is considered greater? {123} 2nd paragraph (bottom of page); The code sample for case statement lists three options, while the paragraph describing the code sample states that there are only two case options. CODE: Select Case strSelected Case "This" alert "You have chosen this" Case "That" alert "I see you want that, huh?" Case "The Other" alert "Do you really want the other" End Select DESCRIPTION You'll notice in Example 4-5 that although three items are defined by the