Top "Parameters" questions

Parameters are a type of variable used in a subroutine to refer to the data provided as input to the subroutine.

Adding a parameter to the URL with JavaScript

In a web application that makes use of AJAX calls, I need to submit a request but add a parameter …

javascript url parsing parameters query-string
How can I pass a parameter to a setTimeout() callback?

I have some JavaScript code that looks like: function statechangedPostQuestion() { //alert("statechangedPostQuestion"); if (xmlhttp.readyState==4) { var topicId = xmlhttp.responseText; setTimeout("…

javascript parameters callback settimeout
How do you pass a function as a parameter in C?

I want to create a function that performs a function passed by parameter on a set of data. How do …

c function pointers syntax parameters
Using parameters in batch files at Windows command line

In Windows, how do you access arguments passed when a batch file is run? For example, let's say I have …

windows batch-file cmd parameters arguments
How do Python functions handle the types of the parameters that you pass in?

Unless I'm mistaken, creating a function in Python works like this: def my_func(param1, param2): # stuff However, you don't …

python function parameters
Reflection: How to Invoke Method with parameters

I am trying to invoke a method via reflection with parameters and I get: object does not match target type …

c# reflection parameters methods invoke
Get url parameters from a string in .NET

I've got a string in .NET which is actually a url. I want an easy way to get the value …

c# .net url parsing parameters
Parameterize an SQL IN clause

How do I parameterize a query containing an IN clause with a variable number of arguments, like this one? SELECT * …

sql sql-server parameters
Can we pass parameters to a view in SQL?

Can we pass a parameter to a view in Microsoft SQL Server? I tried to create view in the following …

sql sql-server parameters parameter-passing views
How do I pass a class as a parameter in Java?

Is there any way to pass class as a parameter in Java and fire some methods from that class? void …

java class gwt parameters