How are we doing? Please help us improve Stack Overflow. Take our short survey

Questions tagged [variables]

THIS IS AMBIGUOUS; USE SPECIFIC-LANGUAGE TAGS WHENEVER APPLICABLE. A variable is a named data storage location in memory. Using variables, a computer program can store numbers, text, binary data, or a combination of any of these data types. They can be passed around in the program.

Filter by
Sorted by
Tagged with
0
votes
0answers
21 views

How do I copy to the clipboard using an HTML button, with variable values?

I'm creating a search site for video content. In the results, I'd like to have a button that will copy to the clipboard the Video name and Video URL that I have in the database. I've found a JS ...
0
votes
0answers
14 views

Getting variable from function inside of class into a separate class function in python

I have two python files that contain 2 classes. I want to get a variable that is within one function within one class into a function in a different class. Specifically, the class CaptureFrames ...
0
votes
0answers
18 views

When input / output values through javascript the second value is undefined

I need help with html and js. There is the first page with content. I take the values from here and transfer them to the second page. <div id="prodname" data-name="stone">...
-2
votes
0answers
21 views

Can someone please help me write the code for this while loop? [closed]

I am trying to write a while loop based on this set of instructions, but I am struggling with writing it. Can someone please show me how to write the code? Here are the instructions: Write a flag ...
1
vote
1answer
31 views

Pythonic way to introduce multiple different file-paths in pytest

I have a pytest script that has roughly 20 different test. Each test collects data and stores that data in specified file-paths. Each file-path is individually defined within each test. For example: ...
0
votes
2answers
51 views

How to create new variable in function using address

When I create a new array using main array's base address I write this: main() { int a[]={0,1,2,3,4,5,6,7,8,9}; display(a); } display(int anew[]) { int i; for(i=0;i<10;i++) ...
0
votes
0answers
19 views

VBA formula as a variable

I'm writing a VBA form which looks at a sheet of data and narrows down a selection based on drop boxes selected. The data sheet contains the options for each drop box under different headings eg Drop ...
0
votes
0answers
15 views

using vector element as a variable in r [duplicate]

I have a data frame table1 as: table1 <- data.frame(matrix(ncol = 3, nrow = 5)) colnames(table1) <- c("a","b","c") table1[,1] <- c("c1","c2",&...
0
votes
1answer
18 views

Bash string substitution with %

I have a list of files named with this format: S2_7-CHX-2-5_Chr5.bed S2_7-CHX-2-13_Chr27.bed S2_7-CHX-2-0_Chr1.bed I need to loop through each file to perform a task. Previously, I had named them ...
-1
votes
0answers
37 views

Problems with double in C++ [closed]

Code image In the code that I have written I am getting the sum of 2.0 and 3.0 as 5 and not 5.0. What should I do to get the desired output?
0
votes
3answers
35 views

How to replace input within a loop

bool alphabeticString(string word) { for (int i = 0; i < word.length(); i++) { if (isalpha(word[i])==true) { cout << word[i] << " is alphabetical\n"; ...
-1
votes
0answers
9 views

Set variable on nested json value Postman

Is there anyway to set the following with a variable value to be changed out with external data files? The non nested values are working fine, but targeted the userPrivileges is turning out to be ...
0
votes
0answers
29 views

How to make an external reference in a JavaScript variable value?

I'm setting up a serverless Google Drive indexer on Cloudflare Workers and this is how the variable declaration part of my code looks like: var authConfig = { siteName: "My Site", ...
0
votes
0answers
16 views

C++/CPP: Understanding variable behavior and outputs when going out of type range [duplicate]

int main() { string str = "Test String"; cout << str.find("ingg") << endl; //output: 18446744073709551615 int found=str.find("ingg"); ...
1
vote
1answer
22 views

Flutter use one Variable in different classes Error: Getter not found: 'allJobs'

I have a Variable in one Class but and i want to use it in all. In this Example is the allJobs Variable which is declared in Muesnterboerse ore MuensterboerseAAAngebote and i want to use it in ...

15 30 50 per page
1
2 3 4 5
3148