How to do a function with the same argument multiple times and return values in the variables?

The problem I have is that I have created a function that is really kind of database.  Basically, a bunch of:

If (a.value == 'number') {}

b.value = "this expression."

}

Inside of the shape are 2 drop-down lists that return numeric values I want to process through this function and the value of return inside separate variables.

var a = this.getField ("OPE003. EVEN.1.MIP");

MIP (a);

var Result1 = Mip();

I tried to smash * a * to treat the second field

a = this.getField ("OPE003. EVEN.2.MIP");

MIP (a);

var Result2 = Mip();

Result1 and result2 are placed in an array, joined as a string.

In doing so, I always get the last treatment twice more than the final result.

Can I use a function as a batch processor that way?

You're right, I changed the code to what you said, but how to pass another value by my function so I can get Result1 and Result2?

is it

var a = this.getField ("OPE003. EVEN.1.MIP");

var b = this.getField ("OPE003. EVEN.2.MIP");

Result1 var = Mip (a);

var Result2 = Mip (b);

var c = new Array [performance(1), result2]

Tags: Acrobat

Similar Questions

  • How can I restart firefox with the same tabs and windows?

    How can I restart firefox with the same tabs and windows?

    It is not in the file menu or tools. I get nothing when searching for help. FF still knows how to do it, say to update extensions.

    I know that I can do by saving my session, coming out, reboot and restore the session but is there a single command to do this?

    Thank you. -David

    I have attached a screenshot showing how to select restore automatic session just above the setting of the Home Page where it says "When Firefox starts".

    With this set, you can restart Firefox manually out using the menu-

    • "3-bar" menu button > button "power".
    • (menu bar) File > Exit

    -and then restart Firefox.

    If you want a real reboot with a click of button, you can check something on the Add-ons site: https://addons.mozilla.org/firefox/

  • You can have two stored functions with the same name?

    Hi all

    You can have two stored functions with the same name?

    My version of DB - connected to Oracle Database 11g Enterprise Edition Release 11.2.0.1.0

    Thank you.

    You can have the same name as long as they are within a package and with different parameters

    create or replace package test_pkg

    as

    function my_func (p1 in number)

    return number;

    function my_func (at number p1, p2)

    return number;

    end test_pkg;

    /

    create or replace package body test_pkg

    as

    function my_func (p1 in number)

    Return number

    as

    Start

    return 0;

    end;

    function my_func (at number p1, p2)

    Return number

    as

    Start

    return 0;

    end;

    end test_pkg;

    /

  • How many licenses are delivered with the suite? We must be able to connect at work and at home.

    How many licenses are delivered with the suite? We must be able to connect at work and at home.

    A single user license allows you to have two active facilities, in order to have a home and place of work or on a laptop or any other functional scenario where you have two computers with the software installed and activated is allowed.

  • How can I sync lightning with the iphone calendar?

    How can I sync lightning with the iphone calendar? I saw online that I need to use a google calendar? I added google calendar as they described, but I have no idea where from here

    To synchronize with the iPhone (also known as iCalendar) schedule you must use a calendar based on a cloud. If you already have the lightning, install the addon Google provider and Setup Google Calendar. If you have already done so, go to settings on your iPhone. In the e-mail box, Contacts and calendars, add your Google account and turn on the calendar. This will synchronize your Google Calendar with the iPhone.

  • How to install firefox last with the custom network home page

    I'm trying to figure out how to do a network with the latest firefox installation, but suitable for the bringing into default homepage for the intranet portal of companies. I have several thousand computers that require installation and pushing by network is the only realistic method, but I can't find a solution on how to change the homepage for this. Help, please!

    See:

  • How to drag a desktop with the magic trackpad icon?

    How to drag a desktop with the magic trackpad icon? It is coupled with a Mac Mini El Capitan 10.11.4 running.

    Thank you.

    Place the cursor on the icon then press on and hold and drag your finger across the surface of the touchpad.

    If problem, then check your trackpad preferences.

    Note also you maybe isn't able to move them they will break again) if other that None is selected in the sort by if you hold with two fingers and choose

  • How to take a photo with the Acer Iconia W 4 820

    Hello

    Anyone know how to take a photo with the Acer Iconia W4 820 Tablet and get it back on my pc?

    hans0919

    Easiest is to copy the files with a USB key, but the most elegant (IMHO) is across the network. Just join each machine to your homegroup, and you can copy back.

  • How to remove a shortcut with the command line?

    How to remove a shortcut with the command line?

    How to make a backup of the local users and groups with command line?

    You delete a shortcut, just as you would remove any other file.  A shortcut will end with the extension ".lnk".  So assuming you are trying to remove the shortcut named "Shortcut.lnk" which appears to the user 'Bob's Office, you use the button Delete (del) or 'clear' command by specifying the full path to the file.  (Remember to put filename in quotes if there is a space anywhere in the path or name) as in:

    del "C:\documents and settings\Bob\Desktop\Shortcut.lnk".

    What kind of a backup 'users and groups' you want to do?  If there is a backup of the users and groups as written in the registry, a good registry as C:\WINDOWS\ERUNT backup program that will make the command line.  If you are trying to backup all users and their data as well, then you are better off with a backup program.

    HTH,
    JW

  • How a microwave oven interferes with the WIFI signal?

    MICRO-WIFI INTERFERENCE

    Please explain THAT HOW A MICROWAVE actually INTERFERES with the laptop WIFI signal...  How to turn off the oven microwave takes the PC adapter, for example?  When the microwave oven is off and don't use it, should also be disconnected? In the equipped cafes in WIFI, are microwave ovens, degrading the quality of the signal?

    I thank very you much for your comments.
    Joe

    This is caused by the fact that both microwave and most wifi routers operate at a frequency of 2.4 Ghz, there is a setting on some wifi routers that allow you to operate at 5 GHz, but this frequency moves not by walls well, insofar as they interfere, the microwave should not disseminate its frequency outside the oven microwave and most of the routers wifi broadcast in all the directions, radio waves can bounce off the walls and envelope the room and other areas as well, this isn't a line of site, so unless you have your computer very close to the microwave you should not receive any interference at all. or course, if you stick the router inside the microwave.

    Hope this helps,
    -Ray
  • How to open a file with the extension .odg using Vista?

    How to open a file with the extension .odg using Vista?

    Hi Defiant503,

    Thank you for visiting the forums of answers.microsoft.com.

    I did some research and a file ending with .odg is an OpenDocument Document OpenOffice/StarOffice (Ver 2) of graphics by Sun Microsystems, Inc.    This means that in order to open this file, you will need this program to open it.  You will not be able to open this file with Vista.

    I hope this information helps.

    Kavita M
    Microsoft Answers Support Engineer
    Visit the Microsoft Answers Feedback Forum site
    and let us know what you think.

  • Why I can't update my credit card payment information? It shows the error in the server. How can I make contact with the staff of Adobe?

    Why I can't update my credit card payment information? It shows the error in the server. How can I make contact with the staff of Adobe?Screen Shot 2016-08-29 at 9.18.44 PM.png

    Hi Purple % 20Lambs,

    Please contact Adobe support:Contact customer service

    * Be sure to stay connected with your Adobe ID before accessing the link above *.

    In case you can't reach Adobe support, please see:

    Contact the technical support FAQ: Impossible to reach support via the link "contact us".

  • InDesign CS5 for windows only allow me to scroll through the functions with the mouse wheel

    Nice day

    InDesign CS5 for Windows only allow me to scroll through the functions with the mouse wheel and for example not allow me to access drop down menus, any help will be much appreciated

    https://helpx.Adobe.com/InDesign/KB/InDesign-tools-panels-Don ' t - respond.html

  • I had CS5 on a computer that has crashed with WIndows 7. How to restore my CS5 with the backup files?

    I had CS5 on a computer that has crashed with WIndows 7. How to restore my CS5 with the backup files?

    Available downloadable Setup files:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

  • How to animate a line with the pen tool to give the impression that it is plotted?

    How to animate a line with the pen tool to give the impression that it is plotted?

    Or you can choose the pen tool (g), set the padding to zero and the race to what you want, then draw a path, then press U twice to reveal all of the properties that have been changed for the layer, and then click Add (top-right) and select Connect the tracks.

    To make the race work just animate the start or end point and sent to paint on original or reveal original or normal.

Maybe you are looking for