Hi,
I wasn't sure if include is executed or if it's preprocessed and
then the page is executed.
The documentation (ahem) makes this quite clear:
"One of the most powerful features of Active4D is its ability to
include other
files during execution...the included file is interpreted as if it
were part of the source file. The scope of the included file is
whatever the scope was where the include
command appeared."
and this:
"You may put an include statement within an If/Else/End if or Case/
End case construct to conditionally include various files. This
allows you to use the same page to display different output based on
one or more criteria."
My next question was going to be: do multiple includes cause a
performance issue. Sounds like that's not the case if the page
isn't parsed unless the include is executed.
See above.
I know you are working on a crash schedule, but the documentation
actually will answer these questions faster than trial and error or
waiting for an answer from the list. The docs are searchable.
Regards,
Aparajita
Victory-Heart Productions
www.aparajitaworld.com
"If you dare to fail, you are bound to succeed."
- Sri Chinmoy | www.srichinmoylibrary.com
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/