Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!caen!uwm.edu!linac!att!news.cs.indiana.edu!nstn.ns.ca!ac.dal.ca!dal1!ireland From: ireland@ac.dal.ca Newsgroups: comp.sys.mac.hypercard Subject: Variables in a list? Message-ID: <4165@ac.dal.ca> Date: 26 Mar 91 03:29:05 GMT Lines: 16 Organisation: Dalhousie University, Halifax, Nova Scotia, Canada Can variables be put into a list and then referred to as items in that list? I'd like to be able to do the following: on foobar global G1,G2,G3 put "G1,G2,G3" into myList put 77 into item 2 of myList end foobar I'd like the value of G2 to be set to 77. Unfortunately, all the above does is replace G2 with 77 in myList. Being able to do something like this would be an elegant solution to a scripting problem I have. Anyone know how to do something like this? Thanks, Keith Conover ireland@ac.dal.ca