Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!samsung!uunet!tellab5!kenk From: kenk@tellab5.TELLABS.COM (Ken Konecki) Newsgroups: comp.sys.mac.hypercard Subject: Re: "Initialize" for HyperTalk Message-ID: <1784@tellab5.TELLABS.COM> Date: 22 Nov 89 13:17:23 GMT References: <1827@gazette.bcm.tmc.edu> <2371@draken.nada.kth.se> <89325.165819SAS102@PSUVM.BITNET> Reply-To: kenk@tellab5.UUCP (Ken Konecki) Organization: Tellabs, Inc. Lisle IL Lines: 32 | | Dear Apple, | | One thing I would like for Christmas is an "Initialize" command for | HyperTalk. I'm tired of scripting: | | put empty into temp1 | put empty into temp2 | put empty into temp3 | | when I could just say | | initialize temp1,temp2,temp3 I strongly disagree. This can be easily done through a Hypertalk script (and was already posted) or through an XFCN. No other language I know has this function (although some do guarantee initial values, I've always been taught it's bad programming practice not to explicitly initialize variables) so why should Hypertalk be any different? Additional food for thought: what if I didn't want to initialize my variables to empty? So now I would have to do it by hand anyway, so the initialize command hasn't helped me in the least. Cheers, -Ken K -- Ken Konecki "Eat well, stay fit, and die anyway" e-mail:kenk@tellabs.com -or- ...!uunet!tellab5!kenk U.S. Mail: 1271 Portchester Circle, Carol Stream, IL 60188