menuPick returns the text of the selected menu item. This is fine, but when
items are the same (as in a list of names referring to record cards), it is
not easy to identify _which_ record has been selected:

John Adams
Fred Garcia
John Smith
John Smith
Alan Tilby

on menuPick what
  put lineOffset(what,the text of me) into n
  go cd id (line n of the cdIDs of me)
end menuPick

How can we deal with this? Optionally return the lineNumber instead of the
lineText of the selected menu item?

/H

Hugh Senior

The Flexible Learning Company
Consultant Programming & Software Solutions
Fax/Voice: +44 (0)1483.27 87 27
Email: [EMAIL PROTECTED]
Web: www.flexibleLearning.com

Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to