Call a function in a shared library: Difference between revisions

Line 107:
end if;
end Shared_Library_Call;</lang>
 
=={{header|AppleScript}}==
<lang AppleScript>-- first load the library
set theLib to load script file "lib.scpt"
-- then call a handler (function) from the loaded library
set theResult to theLib's exampleHandler()</lang>
 
=={{header|AutoHotkey}}==