This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Run script
#8
(14.04.2020, 15:26)admin Wrote: Just use require('user.user_lib_name') in your code. Keep in mind that if you require the same library multiple times it will be executed only the first time. If you need to call it multiple times then you need to wrap your code into a function and then call this function. It's also good practice to use local variables in your library otherwise variables with same name in your main script will be overwritten.
Thanks Admin ! Good.
Jean-Marc
Reply


Messages In This Thread
Run script - by JMM - 14.04.2020, 08:41
RE: Run script - by Joep - 14.04.2020, 08:45
RE: Run script - by admin - 14.04.2020, 08:51
RE: Run script - by JMM - 14.04.2020, 10:09
RE: Run script - by admin - 14.04.2020, 10:19
RE: Run script - by JMM - 14.04.2020, 14:26
RE: Run script - by admin - 14.04.2020, 15:26
RE: Run script - by JMM - 14.04.2020, 15:44

Forum Jump: