Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!deimos.cis.ksu.edu!unmvax!charon!hydra.unm.edu!stone From: stone@hydra.unm.edu (Andrew Stone CS.DEPT) Newsgroups: comp.sys.mac.hypercard Subject: Re: how to get field from specific card Keywords: use full 'path' Message-ID: <5090@charon.unm.edu> Date: 15 May 89 14:57:34 GMT References: <3028@viscous.sco.COM> <1974@ur-cc.UUCP> Sender: root@charon.unm.edu Reply-To: stone@hydra.unm.edu.UUCP (Andrew Stone CS.DEPT) Organization: University of New Mexico, Albuquerque, NM Lines: 21 In article <1974@ur-cc.UUCP> aisl@uhura.cc.rochester.edu (Lawrence Landry) writes: >In article <3028@viscous.sco.COM> jamesm@sco.COM (James M. Moore) writes: >>What's the syntax for getting a field from a specific named card? > >I don't think that there is currently any way to do this other than to go to >that card. Whoaaa! You can simply use the entire container description and do it in place: put fld "myField" of cd "thatOtherFarAwayCd" into mycontainer Sometimes, on long, convoluted expressions, such as line i of fld j of cd k of bg l, you can aid HyperCard's parser by using parens to logically define your expression. This, and using quotes, has saved me numerous times. andrew ||<<++>>||<<-->>||<<==>>||<<++>>||<>||<<++>>||<<-->>||<<==>>||<<++>>|| !! Andrew Stone !! the fictive milieu of !! !! stone@hydra.unm.edu <> contemporary society! !! ||<<++>>||<<-->>||<<==>>||<<++>>||<>||<<++>>||<<-->>||<<==>>||<<++>>||