Newbie questions
Paul Malloy
Paul_Malloy at brown.edu
Sat Oct 18 17:53:17 EDT 2003
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
Thanks in advance.
Paul Malloy
More information about the use-livecode
mailing list