JLUtilityFunctionsΒΆ

jutils.spad line 1 [edit on github]

This package provides different JL utility functions.

jlAddPackage: String -> Void

jlAddPackage(package) add package to JL project.

jlDefined?: JLSymbol -> Boolean

jlDefined?(sym) checks whether or not sym is defined in JL.

jlDefined?: String -> Boolean

jlDefined?(str) checks whether or not str is defined in JL.

jlEvalString: String -> Boolean

jlEvalString(str) evaluates str in JL, where the output is a Boolean.

jlEvalString: String -> Integer

jlEvalString(str) evaluates str in JL, where the output is an Integer.

jlEvalString: String -> JLFloat32

jlEvalString(str) evaluates str in JL, where the output is a JLFloat32.

jlEvalString: String -> JLFloat64

jlEvalString(str) evaluates str in JL, where the output is a JLFloat64.

jlEvalString: String -> JLInt64

jlEvalString(str) evaluates str in JL, where the output is a JLInt64.

jlEvalString: String -> NonNegativeInteger

jlEvalString(str) evaluates str in JL, where the output is an Non Negative Integer.

jlEvalString: String -> PositiveInteger

jlEvalString(str) evaluates str in JL, where the output is an Positive Integer.

jlEvalString: String -> String

jlEvalString(str) evaluates str in JL, where the output is a String.

jlEvalString: String -> Void

jlEvalString(str) evaluates str in JL with no output.

jlGCCollect: () -> Void

jlGCCollect() forces a JL garbage collector run.

jlImport: String -> Boolean

jlImport(modpackfunc) imports the module, package or function modpackfunc and makes its exported name(s) available. Returns false if it can not be imported.

jlInclude: String -> Boolean

jlInclude(file.jl) loads and evaluates the content of the JL file file.jl in the current global scope.

jlInitialize: Boolean -> Boolean

jlInitialize(init) initializes the JL environment if init is true, otherwise clears the JL environment. Normally, it should not be used since it is automatically called.

jlRandomString: PositiveInteger -> String

jlRandomString(n) returns a random string of n characters.

jlSeed!: JLInt64 -> Void

jlSeed!(n) reseeds the JL random number generator, if applicable.

jlUsing: String -> Boolean

jlUsing(modpack) loads the module or package modpack and makes its exported names available. Returns false if it can not be loaded.