Top "Parameter-passing" questions

parameter-passing is the process of assigning values to the parameters of a function

How to pass needed parameters to script in Powershell ISE?

See Title. I specified needed parameters in the head of a script: param ($G_ARCHIVE = $(throw "Need file to upload!"), $…

powershell parameter-passing powershell-ise
Pass property itself to function as parameter in C#

I am looking for a method to pass property itself to a function. Not value of property. Function doesn't know …

c# properties parameter-passing
Python, SQLAlchemy pass parameters in connection.execute

I am using SQLAlchemy connection.execute(sql) to transform select results to array of maps. Have following code def __sql_…

python sql sqlalchemy parameter-passing
Pass ALL Arguments from Bash Script to Another Command

I am writing a very simple script that calls another script, and I need to propagate the parameters from my …

bash scripting parameter-passing command-line-arguments
Passing parameters to a controller when loading an FXML

I have a login screen, and I want to pass the login ID from the LoginController to the MainController, so …

java parameter-passing javafx-2
What is "pass-by-name" and how does it work exactly?

I've checked Wikipedia and googled but I still can't wrap my mind around how pass-by-name works in ALGOL 60.

parameter-passing pass-by-name language-history algol
Can you pass-by-reference in R?

Can you pass by reference with "R" ? for example, in the following code: setClass("MyClass", representation( name="character" )) instance1 <…

r oop parameter-passing pass-by-reference
Optional parameters in functions and their mutable default values

Possible Duplicate: “Least Astonishment” in Python: The Mutable Default Argument I'm kind of confused about how optional parameters work in …

python parameters parameter-passing optional-parameters
How to pass the value 'undefined' to a function with multiple parameters?

I want to pass the value of 'undefined' on a multiple parameter function but without omitting the parameter. What do …

javascript function parameter-passing undefined
Difference between char *argv[] and char **argv for the second argument to main()

CODE 1 #include<stdio.h> int main(int argc, char *argv[]) { int j; printf("%d", argv[1][0]); return 0; } CODE 2 #include&…

c arrays pointers parameter-passing argv