function ExtractItems tabl,col
put "" into a
repeat with x = 1 to the number of lines in tabl
set cursor to busy
put (item col of line x of tabl) into line x of a
end repeat
return a
end ExtractItems
one liner would be
put extractitems(mytable,2) into nucontainer
(sorry for the humor!)
# -----Original Message-----
# From: Richard Gaskin [mailto:[EMAIL PROTECTED]]
# Sent: 12 July 2001 11:53
# To: [EMAIL PROTECTED]
# Subject: arrays
#
#
# Is there a one-liner method for pulling a given column out of a
# two-dimensional array into a return-delimited string for
# display in a field?
#
# --
# Richard Gaskin
# Fourth World Media Corporation
# Multimedia Design and Development for Mac, Windows, UNIX, and the Web
# _____________________________________________________________________
# [EMAIL PROTECTED] http://www.FourthWorld.com
# Tel: 323-225-3717 ICQ#60248349 Fax: 323-225-0716
#
#
#
# Archives: http://www.mail-archive.com/[email protected]/
# Info: http://www.xworlds.com/metacard/mailinglist.htm
# Please send bug reports to <[EMAIL PROTECTED]>, not this list.
#
Visit us at http://www.clearstream.com
IMPORTANT MESSAGE
Internet communications are not secure and therefore Clearstream International does not
accept legal responsibility for the contents of this message.
The information contained in this e-mail is confidential and may be legally
privileged. It is
intended solely for the addressee. If you are not the intended recipient, any
disclosure,
copying, distribution or any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are those of the
individual sender, except where the sender specifically states them to be the views of
Clearstream International or of any of its affiliates or subsidiaries.
END OF DISCLAIMER
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.