Category "variables"

Add variable to URL in Locust test

I'm been trying to figure out how to add a variable captured from a prior 'task' on Locust and add a variable to a new tasks GET request URL. The variable below

Custom Acumatica report variable not working consistently

in Acumatica, the out of the box GL report" lists gl beginning balance, debits, credit and ending balance by Account / Sub-Account. MY client is requesting th

How to get a value out of a callback function in javascript [duplicate]

var request = require('request'); var d; request('my.servers.ip?group=1', function (error, response, body) { let d = body }) console.l

Why don't we have to declare static functions the same way we need to declare static variables in c++?

Consider the following struct: struct Toto { static int a; static void Print() { std::cout << a; } }; And the following main functio

Why are all my variables objects instead of numerical values (int,float) when uploaded?

I just started so that might be stupid, but I have following problem: I created a .csv-file for some basic data description. However, although they are all nume

swapping array elements without a temporary variable

The following code: var words = ['javascript', 'hmtl', 'css', 'python']; words[0] = words[3]; words[3] = words[0]; alert(words); ...gives

What is the best practice to quickly access big amount of data in the web browser?

I have this huge array of strings, saved in a JSON file on a remote server (the file size is 2MB and increasing).. In my front-end code, I need to constantly lo

How to use variables from other Activity for buttons in Custom list view Android studio

I am currently building a bare bones game app for university. In the Shop activity of the app I have created a custom list view in order to display items in the

Loop numbered variables in Excel VBA - [duplicate]

How can I loop through a set of variables which are numbered consecutively (Bay1, Bay2, Bay3, etc.)? I have 10 variables and I need to examine

How to declare a variable for service_facts

Below is the sample ansible playbook I use to check the service status using service_facts module and it worked well. Here I need support to define the service

get the variable $i from counter in text

I just don't know how to make this work. I got this Javascript $(".email").on("keyup change", function() { if ($(this).val().match(/@gmail/i)){ $(".groupa").sho

Adding to a value in a loop counter in Python

I’m trying to get it add 1 to streak every time the loop runs, but it keeps the same number. I’m trying to make a counter every time it sees red. fr

Getting values from Azure DevOps Release Pipeline Task output

I'm new on Azure DevOps, so I'm struggling to solve a basic problem about variables. Hope anyone can give me a hand with it. Basically, my release pipeline has

echo variable in window location not working

im trying to redirect a user to a url with a php variable $userdata However the script seems not to work, it does put it in the html (confirmed with inspect ele

Why can't export variable members in a PowerShell module using VariablesToExport?

From How to Write a PowerShell Module Manifest I learned that I can export all the variables in the module using VariablesToExport = '*'. However, after using i

How to save certain ogrinfo results to a variable?

I am using gdal's ogrinfo command in Python to obtain information about a shapefile. My code is as follows: from subprocess import Popen, PIPE args = ['ogrinf

Unable to get inherited gitlab CI/CD variables

I would like to create a variable for all of my project located under a group. I create a variable in this group I go under a subgroup and check for CI/CD vars

Variable changes absurdly like 3 to 51? [duplicate]

I have been trying to solve a codewar question but when I use char to int .I get absurd results. like I enter 3 as base and 3 as power but res

Display In stock available variations in WooCommerce single product

I have variable products with many variations where only a few items are actually In Stock while the majority of other variations are ''available on backorder''

JavaScript Function find and return largest number

I'm attempting to create a function that takes two numbers, finds the highest one, and returns that. When I run my code: <script type="text/JavaScript">