#Director???
05-May-92 01:28:48
Sb: #38921-#Director???
Fm: Keith Doyle 75300,3406
To: George S. Roland 74030,231
Math Stack Imbalance occurs when certain invalid expressions get past the
compilation portion of The Director without detection, and result during
runtime in an extra numeric parameter on the stack after the expression has
been evaluated. This usually occurs as a result of some kind of error in
an expression, and in fact, now results in an "Invalid Expression" error
which is probably a little more helpful. Take a close look at any
expressions used in the statement where the error occurs and see if you can
spot anything unusual. You could als post the offending line here to see
if I can spot what might be wrong.
As far as the image file name problem, note that if a complete pathname is
not used, the pathname is considered to be relative to the location of the
.film file. The film file will be generated at a location that depends on
the Configure selection in the DEdit Project menu. If "Film Output
Directory" is not empty, it specifies an explicit pathname (usually the
location of your project, or RAM:). If "Film Output Directory" is empty,
then the .film file will be located in the same directory as your script
file.
When you use "View" to look at an image, and then paste its name into your
script, it will look at the name and the "Film Output Directory" and reduce
the name to a relative specification if possible, so that your image file
names will not be complete pathnames. This is desirable, because it makes
it easier to move an entire directory that includes your
film files and image files onto a floppy from your hard disk, or to another
location on your hard disk without having to go back and readjust all of
the image file names.
Keith