Path: utzoo!attcan!uunet!fernwood!portal!apple!jdevoto From: jdevoto@Apple.COM (Jeanne A. E. DeVoto) Newsgroups: comp.sys.mac.hypercard Subject: Re: Dynamic variable names Message-ID: <40123@apple.Apple.COM> Date: 7 Apr 90 10:15:33 GMT References: <3158@oakhill.UUCP> Organization: Apple Computer Inc, Cupertino, CA Lines: 26 In article <3158@oakhill.UUCP> tomj@oakhill.UUCP (Tom Johnson) writes: > do "put item x of p" & y & " into z" > (note that the space here ^ is required for the parser) The && operator concatenates with a space, so you can substitute do "put item x of p" && y && "into z" for the above. Not functionally different from putting a space in the literal, but it sometimes looks a little neater & is easier to read. >Now for another small problem. >[...] >What I CAN'T get to work is this - return(x & "," & y) (By the way, you don't need to enclose the return value expression in parens.) This works fine for me. I'm correct in assuming that x and y are variables you've defined previously? Maybe you could post or mail additional information about the script. What version of HyperCard are you using? -- ====== jeanne a. e. devoto ======================================== jdevoto@apple.com | You may not distribute this article under a jdevoto@well.UUCP | compilation copyright without my permission. ___________________________________________________________________ Apple Computer and I are not authorized | CI$: 72411,165 to speak for each other. | AppleLink: SQA.TEST