Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!srcsip!tcnet!nis!sialis!orbit!pnet51!american From: american@pnet51.cts.com (Jeff Iverson) Newsgroups: comp.sys.mac.hypercard Subject: Re: Passing Containers in XCMD's Message-ID: <866@orbit.UUCP> Date: 16 Aug 89 18:05:05 GMT Sender: root@orbit.UUCP Organization: People-Net [pnet51], Minneapolis, MN. Lines: 31 Athos@cup.Portal.com (Rick Eames) writes: >Okay, I *really* need this one answered... > >When HyperCard passes a container, such as a field with 5 separate lines >of info, on to an XCMD, in what format is that containter? Could I call >assign it to an array[1..5] of STR255 ? This is what I really want to do, >so that I can go through the container one line at a time, but don't know >if it is possible.... > > >Thanks ahead of time... > > > >Rick Eames One way of doing this would be through a series of call-backs to HyperCard as in 'line x of container', or another way would be to parse the lines of your container into parameters for your XCMD. Or as ShowDialog does, you could turn the container into a comma-delimited list and pass that as a single parameter... UUCP: {amdahl!bungia, uunet!rosevax, chinet, killer}!orbit!pnet51!american ARPA: crash!orbit!pnet51!american@nosc.mil INET: american@pnet51.cts.com GEnie: APOSTASY AppleLink: ALL.AMERICAN U. S. Mail: All-American Software Development Corp. 5612 International Parkway Minneapolis MN 55428 Jeff Iverson