Hi,

I have encountered strange problem: on Windows NT4.0 platform, with
'Regional Settings' set to "Dutch and HP LaserJet 5M selected as a
default printer, using "hard coded" decimal numbers in Director 8.0
causes "Script error" with error message "Number expected"!!! Just
typing command "put 1.4" inside 'Message Window' would produce this
error.
I did some tests and discovered that problem does not occur if
'Reg.Settings' are set to "English". With any other print driver I
could check, everything worked just fine, even if Reg.Set. were turned
to 'Dutch'!!! Clearly, the problem was in "decimal symbol
interpretation", when numbers were hard-coded. (Command "put
float(1)/2" correctly returned "0.5000").
If someone here on the list had similar problem and found solution for
it (other than "Replace hard-coded decimals with expressions: instead
of '3,14' use 'float(314)/100' " -- it is to late for that one...),
please share it with us :)).

oliver




[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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