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.

Execution of a resident script
#10
An example. I created user library with name 'test'

This is the library:
Code:
return function()
log('test')
end


Each time it is called it will create log 'test'

To cal it create a resident or any other script and use this code.

Code:
fn = require('user.test')
fn()
------------------------------
Ctrl+F5
Reply


Messages In This Thread
Execution of a resident script - by a455115 - 04.05.2023, 11:19
RE: Execution of a resident script - by admin - 04.05.2023, 11:45
RE: Execution of a resident script - by admin - 04.05.2023, 13:13
RE: Execution of a resident script - by admin - 04.05.2023, 14:06
RE: Execution of a resident script - by admin - 04.05.2023, 14:18
RE: Execution of a resident script - by Daniel - 18.05.2023, 08:16

Forum Jump: