Questions tagged [input-parameters]
65 questions
0
votes
1 answer
How to set input parameters for a script in Excel?
I have a script that formats the data from a table to JSON. My Excel document has many sheets all with one table in each sheet. I am trying to pass in an input parameter (of type string) for the name of the sheet so that when I run the script I am…

Tyler Gourley
- 1
- 1
0
votes
1 answer
Mule 4 - Set Start Date & End Date as QueryParams
I'm having trouble defining both start and end dates as a query parameters. When the data gets pulled, it needs to return as a range of dates based on the query parameters. The GET URL would look like…

ilya.fastiv
- 1
- 5
0
votes
4 answers
Passing variable by Ref. or Value Dilemma
I have some void methods which are static.
Is it better to pass variables by reference or by value, because I'm passing large amount of text into these variables :
public static void renderText(ref StringBuilder build)
{
//Do your job.
}
So could…

Rosmarine Popcorn
- 10,761
- 11
- 59
- 89
0
votes
1 answer
Using value returned by a method as input parameter in C#
I have a method returnNo in C# that returns a string as shown below.
public string RecordNo()
{
//Get the string of the Record No from the page
string recordSavedNumber = recordNoForRecord.Text.Replace("- Record #", "");
return…

LMU
- 1
0
votes
1 answer
oracle pl/sql exception handling for input parameter (bad argument i.e. non numeric value for number)
I have stored procedure with input parameter of type number.
CREATE OR REPLACE PROCEDURE my_procedure (p_x number)
AS
I included exception handling code as below, but that do not handle following:
execute my_procedure ('sads')
EXCEPTION
WHEN…

jeer
- 29
- 3
0
votes
0 answers
SQL Server stored procedure and string manipulations
I want to create a stored procedure in T-SQL which takes an input parameter itemVal which is a string.
This parameter takes values in 4 ways:
item name (name: [pen])
item key (key: [pen_k2])
item GUID (guid: [213314-32434-45757]),
itemCode (code:…

anam
- 1
- 1
0
votes
1 answer
How to pass simple parameter in python
I want to try simple Python code test.py where I want to pass parameter.
import sys
result = 3 * 3 *
print(result)
When I run the Python code i want to pass value as 3 in input parameter so that i can get result 27 at the end. I can…

Symonds
- 184
- 1
- 2
- 15
0
votes
1 answer
what does "[," mean in the syntax for describing input parameters format?
This is a rookie question but I couldn't find the name / keyword for this kind of syntax that is widely used in describing input parameters formats. For example:
Request method aliases
For convenience aliases have been provided for all supported…

Kid_Learning_C
- 2,605
- 4
- 39
- 71
0
votes
1 answer
I want to know the file_path in the example of tensorflow
The example of tensorflow is
https://www.tensorflow.org/tutorials/audio/simple_audio
I want to know the file_path in this example as below:
def get_waveform_and_label(file_path):
label = get_label(file_path)
audio_binary =…

Jungsik
- 1
- 1
0
votes
1 answer
Swift - receive json object as input parameter to view controller?
I am working on an assignment for iOS project, and one of business logic rules is to let view controller receive id as an input parameter, and I don't get what it means.
The id is a JSON object field like below:
{
"id":…

Matthew So
- 75
- 1
- 2
- 8
0
votes
0 answers
What are different ways to use 'keyup' event within HTML?
I have seen following 4 ways to use keyup event within HTML?

meallhour
- 13,921
- 21
- 60
- 117
0
votes
1 answer
How can I use a where statement in my procedure with open quotes inside the select statement already?
In my procedure, I need to have input parameters for the table and I need to be able to make multiple select statements into my procedure. However when I begun to add WHERE conditions, they only worked on numerical conditions i.e. where number = 1,…

codingnoob
- 49
- 1
- 9
0
votes
2 answers
Stored Procedure float input param truncating value
I have a stored procedure that has input params:
@Latitude float
, @Longitude float
but when I pass these values:
@Latitude=-28.640328248358344
,@Longitude=153.61249352645871
the values being stored in the table are:
Lat: -28.6403
Lng:…

Rob
- 10,004
- 5
- 61
- 91
0
votes
1 answer
How to generate input parameters for a simulation study using a collected data set?
Suppose that I have a data set S that contains the service time for different jobs, like S={t1,t2,t3,...,tn}, where ti is the service time for the ith job; and n the total number in my data set. This S is only a sample from a population. n here is…

MWH
- 353
- 1
- 3
- 18
0
votes
1 answer
Oracle - SP Date Input parameter truncated?
I have a procedure which takes some input parameters as date.
When I try to execute my SP, here are the values assigned to each parameters
However when I execute I get an error message about the date format on the p_schedule_value parameter. Indeed…

Mélanie
- 31
- 2
- 10