Top "Arguments" questions

An argument is a value passed to a function, procedure, or command line program.

Python function as a function argument?

Can a Python function be an argument of another function? Say: def myfunc(anotherfunc, extraArgs): # run anotherfunc and also pass …

python function arguments
jQuery pass more parameters into callback

Is there a way to pass more data into a callback function in jQuery? I have two functions and I …

javascript jquery function callback arguments
How can I convert the "arguments" object to an array in JavaScript?

The arguments object in JavaScript is an odd wart—it acts just like an array in most situations, but it's …

javascript arrays sorting arguments variadic-functions
What is $@ in Bash?

I reckon that the handle $@ in a shell script is an array of all arguments given to the script. Is …

bash arguments
Java variable number or arguments for a method

Is it possible to declare a method that will allow a variable number of parameters ? What is the symbolism used …

java methods arguments parameter-passing variadic-functions
Execute PowerShell Script from C# with Commandline Arguments

I need to execute a PowerShell script from within C#. The script needs commandline arguments. This is what I have …

c# command-line powershell scripting arguments
How do I pass a unique_ptr argument to a constructor or a function?

I'm new to move semantics in C++11 and I don't know very well how to handle unique_ptr parameters in …

c++ arguments c++11 unique-ptr
How do I find the number of arguments passed to a Bash script?

How do I find the number of arguments passed to a Bash script? This is what I have currently: #!/bin/…

bash arguments
Is it possible to get all arguments of a function as single object inside that function?

In PHP there is func_num_args and func_get_args, is there something similar for JavaScript?

javascript algorithm function arguments marshalling
Converting an array to a function arguments list

Is it possible to convert an array in JavaScript into a function argument sequence? Example: run({ "render": [ 10, 20, 200, 200 ] }); function run(calls) { …

javascript arrays arguments