Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!beach.cis.ufl.edu!pff From: pff@beach.cis.ufl.edu (Pablo Fernicola) Newsgroups: comp.sys.mac.hypercard Subject: Hypercard questions + suggestions Message-ID: <20013@uflorida.cis.ufl.EDU> Date: 7 Apr 89 02:59:27 GMT Sender: news@uflorida.cis.ufl.EDU Reply-To: pff@beach.cis.ufl.edu (Pablo Fernicola) Distribution: usa Organization: Machine Intelligence Laboratory, U of FL Lines: 50 Let me start with the questions: 1- Can I define my own event? I thought I read that in one of the hypercard books but I can't find it again ( I usually read after midnight, so I probably dreamt it up :-)). 2- Inside a XFCN (written in C) are there any special considerations regarding the use of NewHandle & DisposHandle? Could I use malloc(), or calloc()? (I still get confused by Handle stuff, specially in relation to an array of structures, with each structure containing a 2D array of strings). 3- If a have a variable Var and it contains mem1 and mem2, given by put "mem1,mem2" into Var how can I do the following, "put the value of item 1 of Var into the value of item 2 of Var" so if mem1 had "hello" to start with and mem2 was empty, after doing the line above, mem2 would contain "hello". I tried placing mem2 in target, but it didn't work. I also tried "put item 2 of Var into the target" and it didn't work. Wish List: 1- User definable events, ie. on myEvent do stuff pass myEvent end myEvent 2- Broadcast capabilities, to pass an event to other objects (buttons and fields) at the same level or higher, ie. on myEvent do stuff broadcast myEvent pass myEvent --maybe broadcast acts only at the same level end myevent 3- A way to use a more resourceful editor to write scripts. I would like to end by expressing my great admiration for the people that developed Hypercard and those that are working on improving it. Thanks! -- Pablo Fernicola pff@beach.cis.ufl.edu Machine Intelligence Laboratory University of Florida Disclaimer: The above opinions belong only to me.