Announcement

Collapse
No announcement yet.

Need Help with a call

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

  • Need Help with a call

    Need help with a call
    (1) It worked with one variable
    (2) Now I want to return three variables
    (3) return(A); worked
    (4) return(A,B,C); did not work ?
    (5) Alos do I have to define these A and B and C in main program
    where I use the call ?
    (6) Also how does a call statement look different with 3 variables?
    Larry Dudash
    HAL at
    http://share.esignal.com/groupconten...r=&groupid=549

  • #2
    Larry
    If you are referring to the function call() then you may want to see the examples in this thread
    If that does not answer your question then you may want to post a working sample of what you are trying to accomplish
    Alex

    Comment


    • #3
      NAME1

      Here is file I am calling
      Attached Files
      Larry Dudash
      HAL at
      http://share.esignal.com/groupconten...r=&groupid=549

      Comment


      • #4
        Here is file that does the calling

        Here is the file that does the calling
        Attached Files
        Larry Dudash
        HAL at
        http://share.esignal.com/groupconten...r=&groupid=549

        Comment


        • #5
          What they do

          I use these type of files to scan the 20 SMH Holder stocks
          They are put into a holdig file.
          Where I use Excel Programming languge to make them look nice


          see some examples on my signature URL
          Larry Dudash
          HAL at
          http://share.esignal.com/groupconten...r=&groupid=549

          Comment


          • #6
            calling functions

            Alex
            If I understand correctly, Esignal can only reply from a call function
            with "one"variable.
            Thanks
            So I will use three of them
            NAME1.efs
            NAME2.efs
            NAME3.efs

            Thanks again

            or

            I may just use one and pack every thing into one big name.
            example
            "Name_MSRANK_MSTYPE"
            "ADI_4_LG"
            Larry Dudash
            HAL at
            http://share.esignal.com/groupconten...r=&groupid=549

            Comment


            • #7
              Larry
              I am not sure what you mean with "can only reply from a call function with "one"variable.".
              Anyhow if you need to retrieve more than one element from a called array you would do something along the lines shown in the example enclosed below (a full working example is available at the thread I indicated)
              Alex

              PHP Code:
              var myCall null;//declare the variable
               
              myCall call("/path/myEFS.efs");//call the function
               
              if(myCall==null) return;//null check
               
              var myVar1 myCall[0];//retrieve the first element of the returned array
              var myVar2 myCall[1];//second element
              var myVar3 myCall[2];//third element 

              Comment


              • #8
                A final note

                A final note
                In programming there is always another way to skin a cat(g)
                If you can only read in one varible,
                and you want to use the out put of the variable in an excel
                spread sheet


                then type

                "adi,4,LG" (using a coma)

                the out put in excel will place adi and 4 and LG in different cols.

                Hope this helps some one...
                Larry Dudash
                HAL at
                http://share.esignal.com/groupconten...r=&groupid=549

                Comment

                Working...
                X