Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bloom-beacon!oberon!cit-vax!ucla-cs!zen!ucbcad!ames!sdcsvax!sdcc6!sdcc18!cs162fed From: cs162fed@sdcc18.ucsd.EDU (Grobbins) Newsgroups: comp.sys.mac Subject: Re: Hypercard question Message-ID: <779@sdcc18.ucsd.EDU> Date: Fri, 9-Oct-87 01:14:33 EDT Article-I.D.: sdcc18.779 Posted: Fri Oct 9 01:14:33 1987 Date-Received: Sun, 11-Oct-87 12:37:25 EDT References: <29942@sun.uucp> <774@sdcc18.ucsd.EDU> <1098@vaxb.calgary.UUCP> Reply-To: cs162fed@sdcc18.ucsd.edu.UUCP (Grobbins) Organization: U.C. San Diego Lines: 28 Keywords: HyperTalk concatenation frustration In article <1098@vaxb.calgary.UUCP> freedman@calgary.UUCP (Dan Freedman) writes: >In article <774@sdcc18.ucsd.EDU>, cs162fed@sdcc18.ucsd.EDU (Grobbins) writes: >> I'm trying to go to cards by a name composed of a string constant >> and a variable number, as in go to card "Sheetnum"&snum >> but Hypercard usually fails to go to the proper, or any, card. > >Hmm, I went to the home stack, and tried the following: > go to card "hom" & e >(note the spacing). It worked. ... Could it be that you are having >problems because of the way you are spacing your arguments? >What do you mean when you say that HyperCard "usually" fails? I said 'usually' because it seemed intermittent, and I was ashamed to admit I hadn't tracked it down. I went to the problematic stack, put spaces before & after the ampersand, and it worked perfectly. I took away the spaces before and after the &, and it still worked. Aargh! It might be a problem with spacing around the ampersand, but I haven't been able to prove that to myself. Frustration city. I hope you've found the problem for me, Dan... I'll let you know if I determine anything more conclusive. Has anyone else run into this problem or other seemingly intermittent bugs in HyperTalk? Grobbins cs162fed@sdcc18.ucsd.edu ..sdcsvax!sdcc18!cs162fed