Daylight

post

Two uses of DO METHODs in Dynamic Scripting with Quadient Inspire

There are following two ways to use do methods: #1) If the script is passed as an input string, then we can use do.eval() method to evaluate that script. Declaration: do.eval (Type aResultType, String aScript) : ResultType This method compiles (at runtime) and executes a script passed as a string, and returns the result in the specified type. This allows the creation of script based on requirements only known at runtime. For example, complex validation or calculation rules can be read from a file / database or built up during runtime. The return type is specified in the first pa...


Web
Analytics