Top "Parameter-passing" questions

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

Pass function as a parameter

I've written function 'A' that will call one of a number of other functions. To save re-writing function 'A', I'd …

powershell parameter-passing calling-convention
When to use an object instance variable versus passing an argument to the method

How do you decide between passing arguments to a method versus simply declaring them as object instance variables that are …

variables methods parameter-passing declaration
Detect if parameter passed is an array? Javascript

Possible Duplicate: How to detect if a variable is an array I have a simple question: How do I detect …

javascript arrays arguments parameter-passing
WP7: Pass parameter to new page?

In a Windows Phone 7 Silverlight application I call a new page using NavigationService.Navigate(new Uri("/View/SecondPage.xaml", UriKind.…

windows-phone-7 parameter-passing
Passing a SQL parameter to an IN() clause using typed datasets in .NET

First apologies as there are similar questions on this site, but none of them answer this problem directly. Im using …

c# sql parameter-passing strongly-typed-dataset
How to access property of one managed bean in another managed bean

I have a managed bean (SessionScope as follow) @ManagedBean(name="login") @SessionScoped public class Login implements Serializable { private String userSession; …

jsf jsf-2 parameter-passing managed-bean
Passing a parameter with h:commandButton

I have a a4j:commandButton which is supposed to redirect me to an appropriate "Edit" page based on an …

jsf jsf-2 parameter-passing commandbutton
Create reference to new object

I am just learning C++, and I've come across the following conundrum: As a C++ newbie, I've read that using …

c++ parameter-passing reference-type
Passing two or more arrays to a Perl subroutine

I am having trouble passing and reading arguments inside subroutine which is expected to have two arrays. sub two_array_…

arrays perl parameter-passing subroutine
Passing variable to a shell script provisioner in vagrant

I'm using a simple shell script to provision software for a vagrant setup as seen here. But can't figure out …

vagrant parameter-passing provisioning