Managing Project Files

Modules: Using in Scripts

To include a module in your script, type a require function call. For example, the following line of script code includes the stringutil.lua module:

After you have used the require function to specify the module, your script can contain calls to functions defined in the module. For example, here is code that uses the hl7util.findSegment() function defined in the hl7util.lua module:

Leave A Comment?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.