Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9190983
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:34:45+00:00 2026-06-17T20:34:45+00:00

The idea is to pass an array args[] having [<int>, <String>, <int>] to a

  • 0

The idea is to pass an array args[] having [<int>, <String>, <int>]

to a function accepting multiple arguments like:

myFunc (int arg1, String arg2, int arg2 ):void

Such that the function call :

myFunc(args[]); can be realized without altering the original function call.

Any suggestions are welcome.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T20:34:46+00:00Added an answer on June 17, 2026 at 8:34 pm

    You can use Function.apply().

    In your case

    myFunc.apply(null,args);
    

    Your args[] should contain same order of your myFunc args list match with your datatype.

    So that you can’t alter you original function.

    Performance wise apply() is not so good. Other situation you can use call().

    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Function.html#apply()

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a function that I pass an array into and an int into
Question very simple - say, i got function, which receives array as its arguments
i will like to pass pictureActivity.java array to another class imageAdapter.java. I do get
I would like to pass an array of data to the Linux kernel module.
So the idea behind an array and a function are very similar from a
Anyone have idea how to pass value from iPhone application to the REST-Webservice using
I have no idea how to pass a value from jtable1 to jtable2 .
idea I would like to create a little app for myself to store ideas
Idea: I want to make smth like real time electronic blackboard. Many users have
Here is the problem: I have 3 int [] as args and I need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.