Announcement

Collapse
No announcement yet.

How can I "include" an EFS source into another EFS source?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How can I "include" an EFS source into another EFS source?

    I wrote some utilities functions in a file named "utilities.efs"

    I would like include this file into others EFS source without Copy/Paste to be sure I call the latest version each time.

    For example :


    INCLUDE "utilities.efs"

    function main()
    {
    var sum=MyCompute(); //MyCompute is defined in "utilities.efs"
    }


    Can somebody tell me if it is possible ?

    Thank you...

  • #2
    here you go...

    callFunction()

    callFunction( EFSName, FunctionName, [Parameters...])


    · EFSName: Name of the physical EFS file that contains the function to be called.
    · FunctionName: Name of the function within this EFS file that you want to call.
    · Parameters: Any parameters that need to be passed to this function.

    callFunction() is used to call a specific function inside of a different EFS file.

    Example:

    nValue = callFunction("MyNewEFS.efs", "calcMyValue", open(), close() );
    Brad Matheny
    eSignal Solution Provider since 2000

    Comment

    Working...
    X