The important idea here is that since you cannot guarantee the case of a symbol, do not rely on the symbols to have the case you want them to be.

You cannot edit the symbol table.

That symbol #pt is stuck that way. You could make a new Director movie and copy everything over there.

You can NEVER get a symbol #member to be #MEMBER, though, because those are hardwired into director.

What you need to do is realize that because symbols are like this, programmers should not try to get capitalization results from symbols.

If you require a certain capitalization, you should have a look up table, or use strings instead of symbols.

case thisSymbol of
  #pt: x = "pT"
  #px: x = "pX"
etc

or instead of [#pt:1,#py:3...] use ["pT":1, "pY":3 ...]

roymeo

At 04:55 PM 5/13/2004, you wrote:
If that's the case, how can I edit the symbol table?



> Actually, the symbol table follows the .dir (and cst's?) around.  They
are
more persistent than global variables.

Closing Director will not make it go away, unless you're only talking
playing in Director and not actual director files.


[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!]

----------- Roy Crisman Macromedia Director Programmer, Lingo Guru, Multimedia Producer Greater Rochester Macromedia User Group (GRMMUG.org) Coordinator 277 N. Goodman St. Rochester, NY 14607-1162 (585)473-3492 home (585)615-2873 cell roymeo(AT)brokenoffcarantenna.com

[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!]

Reply via email to