Paul Malloy wrote: > I am a former HyperCard, SuperCard and OMO user who has just purchased > Revolution. Good to see many familiar names on this list. > > I am trying to port some OMO stacks to Revolution by pasting the scripts > into objects in Rev. I am running into a very basic problem: None of my > scripts execute. For example, I have this script in card 2 > > on closecard > global name, age, education, occupation, gender, handedness, marital > put fld "name" into name > put fld "age" into age > put fld "education" into education > put fld "occupation" into occupation > put button "gender" into gender > put button "handedness" into handedness > put button "marital" into marital > put empty into fld "name" > put empty into fld "age" > put empty into fld "education" > put empty into fld "occupation" > end closecard > > And this script in card 3: > > on opencard > global name, age, education, gender, handedness > put name into fld "name" > put age into fld "age" > put education into fld "education" > put gender into fld "gender" > put handedness into fld "handedness" > end opencard > > Nothing happens when I go to card 3. I get this error message, which makes > no sense to me. Am I making a mistake is syntax? > > compiling at 5:48:17 PM > Type global: not a valid variable name > Object Demographics > Line global name, age, education, occupation, gender, handedness, marital > Hint name
"name" is a reserved keyword, and as such cannot be mirrored as a global var name. I'm surprised that worked in other xTalks. Small price to pay for orders of magnitude greater speed... -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ [EMAIL PROTECTED] http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution