Note: This is an archived post that was originally sent to the Hollywood mailing list on Mon, 03 May 2010 19:10:20 -0000
Hi Andreas
Right... send blame and money to the usual place
I can now disclose that sending in that error report was my revenge for spending a lot of time on (re)discovering a problem of case sensitivity with the
RawGet() command I had forgotten about!... It was either that or sending in some martian war machines to get even!
Afterwards I seem to remember it was reported some time ago. But it took me most of a day to find out why my code flunked. A small example from Hollywood 4.6 (PC version):
Code: Select all
test={}
test.Object1="cheese and ham"
NPrint(GetType(RawGet(test,"object1"))) ;** result 3
NPrint(GetType(RawGet(test,"Object1"))) ;** result 0
test["Object2"]="carrots"
NPrint(GetType(RawGet(test,"object2"))) ;** result 0
NPrint(GetType(RawGet(test,"Object2"))) ;** result 3
WaitLeftMouse
Yes, tricky. With dot notation the variable name tests as all small characters. Using the explicit string format it keeps the capital in front.
But - all is forgiven because you provided update 4.7 free of charge. Thanks
regards Jesper