On 27 Mar 2007, at 19:49, Stockly, Ed wrote:
In this command:
choose from list a OK button name "Choose" with prompt string pstring
There's an improper coersion:
string pstring
The "string" is not needed, pString is already a string.
I don't believe this was intended as a coercion. My guess is that the
word string was simply copied inadvertently from the entry in
Standard Additions' AS dictionary, which reads (in part):
choose from list v : Choose one or more items from a list
choose from list list of number or string : a list of numbers and/or
strings to display
[with title string] : the dialog window title
[with prompt string] : the prompt to be displayed in the dialog box
etc...
The required syntax (with prompt) is shown in bold. The plain text
after that (in this case, string) merely denotes the value class
expected or required, and should be replaced by an actual value of
the class indicated.
---
kai