Newsgroups: comp.sys.mac.hypercard Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!pmafire!mica.inel.gov!guinness!usenet From: bcarter@claven.idbsu.edu (Bruce Carter) Subject: Re: An easy HyperTalk question Message-ID: <1991Jun4.223309.18610@guinness.idbsu.edu> Sender: usenet@guinness.idbsu.edu (Usenet News mail) Nntp-Posting-Host: brucespc Organization: Boise State University References: <1991Jun3.165716.17483@spectra.com> Date: Tue, 4 Jun 1991 22:33:09 GMT In article <1991Jun3.165716.17483@spectra.com> scott@spectra.com (Tim Scott) writes: >Why does a construction of this form work: > > repeat with cardNo = 1 to 10 > get field 1 of card cardNo of bg "Background" > >but this doesn't > > repeat with cardNo = 1 to 10 > put id of card cardNo of bg "Background" into thisCard > get field 1 of thisCard > I think you may have run into a limitation of the interpreter/compiler in HyperCard. Try using a "do" construction on your last line and you should be able to get it to work. Something along the lines of: put "get field 1 of" && thisCard into myCommand do myCommand Bruce Carter Internet: bcarter@claven.idbsu.edu Courseware Development Coordinator duscarte@idbsu.idbsu.edu Boise State University Bitnet/CREN: duscarte@idbsu