parameters Questions

5

Solved

I have ran this example using this job Everything worked well. Now I am trying to see if there is a way to pass parameters to jobs running on Cloud Run. I understand I can use the command to create...
Titbit asked 31/8, 2022 at 21:15

15

Solved

This is my array of actors: ['Elvis', 'Jane', 'Frances'] How to pass this array within a query string in HttpClient? I tried to use: 1) let params = new HttpParams(); params = Params.append('actor...
Pastime asked 10/11, 2017 at 7:46

35

Solved

I have seen lots of jQuery examples where parameter size and name are unknown. My URL is only going to ever have 1 string: http://example.com?sent=yes I just want to detect: Does sent exist? ...
Seriatim asked 21/10, 2013 at 9:55

3

Solved

What exactly is --user-data-dir specifiying? From --help parameter: --user-data-dir <dir> Specifies the directory that user data is kept in. Can be used to open multiple distinct instances o...
Tat asked 17/12, 2021 at 16:47

12

Solved

I'm trying to find a way to get all parameter information from a powershell script. Ex script: function test() { Param( [string]$foo, [string]$bar, [string]$baz = "baz" ) foreach ($key in $...
Digenesis asked 4/2, 2014 at 17:50

18

Solved

Occasionally , we have to write methods that receive many many arguments , for example : public void doSomething(Object objA , Object objectB ,Date date1 ,Date date2 ,String str1 ,String str2 ) { ...
Swaraj asked 12/3, 2010 at 11:51

8

I have a Jenkins pipeline job in which I configure my environment with a bash script named setup.sh which looks like: #!/bin/bash export ARCH=$1 echo "architecture = " ${ARCH} In the Jenkins pip...
Vacuole asked 29/10, 2016 at 20:43

5

Solved

In my example I'm using TypeScript, so let's say I have a TypeScript Interface like this: interface Item { name: string, qty: number, price: number } When I go to implement this, I start typi...
Keratoid asked 7/4, 2019 at 22:11

6

Solved

Sorry for the noob question I'm just a little confused. If I have an array of structures in main that I want to pass to a function: struct MyStruct{ int a; int b; char c; mayarray[5]; }; MyS...
Gnomon asked 31/8, 2010 at 21:18

4

Solved

The following code kills VB6 (sp6) with an 'unhandled exception fault in VB.exe' on two machines in the office on the line marked. ''# Form1.frm Option Explicit Private ArrayHolder As Class2 Priv...
Coenocyte asked 12/5, 2009 at 12:4

24

Solved

I have a problem with the transfer of the variable insurance_mode by the decorator. I would do it by the following decorator statement: @execute_complete_reservation(True) def test_booking_gta_obje...
Straka asked 8/5, 2011 at 17:40

2

Solved

The program is in C#, and I'm trying to pass a List<string> as a parameter. List<string> names = new List<string>{"john", "brian", "robert"}; In plain SQL, the query will look ...
Decane asked 4/3, 2014 at 15:43

2

Solved

Hi I was wondering how to implement this in python. Lets say for example you have a function with two parameters and both print out to console def myFunc(varA, varB): print 'varA=', varA print '...
Hoofbeat asked 15/7, 2012 at 19:42

1

Solved

My goal is to take additional arguments passed through the ellipsis ... (see ?dots for more info) and build a new generic function with the parameters already set and pass this to another function....
Moa asked 21/11, 2023 at 15:26

10

Solved

Is it possible to create a function with a default argument? fn add(a: int = 1, b: int = 2) { a + b }
Argybargy asked 4/6, 2014 at 21:13

2

I am trying to send boolean parameter using curl, http-get to Jenkins without success. Need someone to tell me what is wrong here. I did try to send it as true , True and 1 but none of this works....
Kidd asked 14/1, 2019 at 9:47

4

Can anyone give me a detailed explanation of the difference between IN, OUT, and INOUT parameters? Thanks. P.S. I'm using MySQL 5.5
Kristankriste asked 4/4, 2011 at 11:45

2

I cannot seem to pass the params using Programmatic navigation, the path changes but there is an empty object params. main.js import Vue from 'vue'; import VueRouter from 'vue-router'; import ...
Melda asked 24/4, 2018 at 9:20

10

Solved

In C# you can put a constraint on a generic method like: public class A { public static void Method<T> (T a) where T : new() { //...do something... return new T(); } } Where you spec...
Baras asked 5/12, 2009 at 17:37

10

Solved

Does the method get called with a null value or does it give a null reference exception? MyObject myObject = null; myObject.MyExtensionMethod(); // <-- is this a null reference exception? If ...
Sickler asked 11/5, 2009 at 8:35

8

Solved

I have a stored procedure that uses the LIKE operator to search for a truck location among some other parameters @location nchar(20), @time time, @date date AS select DonationsTruck.Vechile...
Cwm asked 5/5, 2013 at 0:20

3

Solved

I'm rewriting an applet I have, but when it loads it's giving me a runtime exception. The exception is Exception in thread "main" java.lang.NoSuchMethodError: ClientSettings: method < init>(...
Belated asked 21/12, 2012 at 22:50

13

Solved

I'm submitting a parameter show_all with the value true. This value isn't associated with a model. My controller is assigning this parameter to an instance variable: @show_all = params[:show_all]...
Sturm asked 9/9, 2010 at 3:39

3

I need to run a particular ts script using hardhat from the command line but I need to specify parameters... Similar to this: npx hardhat run --network rinkeby scripts/task-executor.ts param1 param...
Scone asked 9/9, 2021 at 3:11

4

Solved

I am trying to understand how to assign by "reference" to a class field in C#. I have the following example to consider: public class X { public X() { string example = "X"...
Croesus asked 5/6, 2010 at 13:11

© 2022 - 2024 — McMap. All rights reserved.