Announcement

Collapse
No announcement yet.

Returned Values from call()

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

  • Returned Values from call()

    I am using the call() function access a custom .efs file.

    I am currently using the call() to return the value of single variable. Like:

    var LLMA_Prev = call("/EDs Formulas/LLMA-Fn-C.efs", 30, -5);

    This works great.

    I would like to retrieve the value of a second variable from
    LLMA-Fn-C.efs.

    QUESTION:
    How do you retrieve two variable values from a call()'ed
    function?

    Thanking you in advance,

    Ed Hoopes
    [email protected]

  • #2
    Ed
    You would call it as an array.
    Attached is an example of a "called" efs with two elements in the returned array. In the next message I will attach a "calling" efs that also passes parameters back to the called efs.
    Download them to the same folder.
    Hope this helps
    Alex
    Attached Files

    Comment


    • #3
      Ed
      Attached here is the "calling" efs. Note that there are two calls made to the called efs each one passing a different set of parameters.
      Alex
      Attached Files

      Comment


      • #4
        Returned Values from call()

        Thank You Alex!

        Ed Hoopes
        aka ReefBreak

        Comment

        Working...
        X