sOldDelim = the itemDelimiter sOldDelim is the CHARACTER STRING, not a pointer.
sOldDelim will stay that character unless you explicitly change sOldDelim roymeo At 02:37 PM 9/25/2002 -0400, you wrote: >Hi Howdi-Tzi & Colin... > >Thanks for the replies. I think WthmO is right in that my variable >sDelimSave wasn't a global. (Shame on me.) However, consider this movie >script: > >global gID > >on startMovie > gID = the itemDelimiter >end > >on someBehaviorCalledFromSomewhereInTheMovie > the itemDelimiter = "h" >end > >on stopMovie > the itemDelimiter = gID >end > > >What I'm questioning is this: When the movie starts up, gID is a global >that records whatever the itemDelimiter is. Then, somewhere along the >lines, the itemDelimiter is set to "h." When the user quits the projector, >the itemDelimiter is set back to gID. BUT, since the itemDelimiter was >changed to "h," could the value of gID change to "h" during the movie, >since gID is a pointer to what the itemDelimiter is? That seems to be what >was happening for me, i.e. gID isn't permanently set, but rather a pointer >to whatever the itemDelimiter is at a given time. > >- Michael >[To remove yourself from this list, or to change to digest mode, go to >http://www.penworks.com/lingo-l.cgi To post messages to the list, email >[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L >is for learning and helping with programming Lingo. Thanks!] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]