I am having a problem using libraries which I am confused about what
is causing the problem. I have tested this same method in a higher
level and it too has the same error (but the error is red). What am
I missing here? I have restarted the application and the browser (I
assume libraries are loaded at startup by A4D).
Note: I have also tried using the import routine ( import
("app.security") ) and it still doesnt work
I have a library located at:
/libraries/app.security.a4l
Which contains a test method
/*
Sample Library
*/
library "app.security"
method "test"
write("test")
end method
end library
When I access the following page
/admin/explorer.a4d
containing the following code
<%
`import("app.security") `this doesnt help
app.security.test
%>
<html>
Admin Explorer
</html>
I receive an error
Active4D error
Source
Method
Line
/Traveller/Bird Man/Clients/MacInfo Systems/Siriani/dev/web/admin/
explorer.a4d
[main]
2
app.security.test
The specified method does not exist.
Active4D 4.0.2 [Mac/Mach-O, release, 4D, Mono]
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/