LiveCode Server syntax to call function in CGI folder

Matthias Rebbe matthias_livecode_150811 at
Fri Nov 23 15:37:35 EST 2018

Do you want to call an .lc file from outside the public_html file?
If so then
copy the .lc file  (lets say to outside of the public_html, for example to /home/custom_scripts.

Then in your .lc file in public_html use

include "home/custom_scripts/

to include the script into your main script.



Matthias Rebbe

free tools for Livecoders:

> Am 23.11.2018 um 21:21 schrieb Keith Clarke via use-livecode <use-livecode at>:
> Folks,
> Can anyone please steer me to any docs explaining the (relative?) path syntax needed to traverse from a public file 'public_html/' to more private resources in 'public_html/CGI’ folder, to:
> 1: Require CGI/  
> 2: Call myFunction() in CGI/
> The LC Server introductory lessons don’t seem to cover how to split public/private assets - unless I’m missing something?
> Thanks in advance
> Keith  
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list