Up |
Return if a package is loaded in a given channel.
fun [Chn S] I
Return : I 1 if loaded, 0 if not loaded. It returns nil if error.
Error :
fun main ()=
_showconsole;
_fooId _envPkgIsLoaded _channel "lib/test/core/a.pkg"; // 1
_fooId _envPkgIsLoaded _channel "lib/std/list.pkg"; // 1
_fooId _envPkgIsLoaded _masterchannel "lib/std/list.pkg"; // 0
0;;