We are in the process of upgrading from 2003 to 2004 (Mac OS X
Active4D 4.0.3 [Mac/Mach-O, release, 4D, Client, logging]). On my
first attempt to bring up Active 4D on a 4D web server running
interpreted, I ran into a few problems that I cannot reproduce - but
it pointed out another problem.
I had defined several process variables in compiler_web that I use
when I need to pass a pointer to a 4D wrapper method. When I first
tried to access a page that used one of these variables, I got a
syntax error "a4d_qDest" undefined on one of the variables.
Since I've run into this before (compiler_web not appearing to run -
or me not knowing the rules when it would run), I'd just add a call
"compiler_web" which would fix the problem. This time the page still
did not work. For whatever reason I then modified the line to
'execute in 4d("compiler_web")' and it fixed my syntax problem. (and
I can no longer find a condition where compiler_web would not run!)
Not understanding why that worked, I just typed some junk
"thisisnotamethod" on a line and tried the page again. It still
worked - no syntax error. I then changed the line to "thisisnotamethod
()" and got the expected syntax error.
I though this was a 2004 fluke, but tried it in 2003 and Active4D
seems to ignore a mistyped calls to a non existent method without
parameters - at least in my code (and demo). Minor problem, but I do
make typo's - maybe I spelled compiler_web wrong on my first attempt.
Back to 2004
I think I remember reading that you no longer have to prefix /4dcgi
to form calls, but are there other differences I should look out for
without reading 400+ pages of release notes?
Steve Alex
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/