Skip to main content
The 2024 Developer Survey results are live! See the results

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.

-1 votes
1 answer
22 views

ansible 2.10 / lineinfile: regexp: "{{netw}}" variable is not dissolved

` - name: read network hosts: localhost vars: CUSTOMER: "{{ CUST | default("me") }}" list: " {{ lookup('file', 'networks').split('\n')[0] }} " gway: "...
ThomasE's user avatar
0 votes
1 answer
20 views

How can I use a parameter to alter which data my profile.Data is accessing?

local expType = tostring(type1) local expTypeStat = expType:gsub("Exp", "") local profileDataExpType = "profile.Data."..expType Here I want to change ...
Lukas Raby's user avatar
0 votes
0 answers
24 views

How to modify a "Name+2nd name+Surname without touch 2nd name? Phyton

I want to change 2 characters in a variable in phyton but when I fix one the other change again. I have this variable. name= " rIana Danyela RodrYguez " I don't want to touch the name &...
TIFK's user avatar
  • 1
0 votes
1 answer
34 views

R Reference Class Add New Variable by Name

Consider the following R code : MyClass <- setRefClass("MyClass", fields = list( ), methods = list( initialize = function(x){ #give new attribute x ...
温泽海's user avatar
  • 344
0 votes
1 answer
30 views

Using @autoclosure in Swift: Can It Behave Like Overloaded Functions?

I have a function that uses @autoclosure. Is there a way to make @autoclosure behave similarly to overloaded functions, so it automatically knows which syntax is right for variables like in my case? ...
Adrian's user avatar
  • 155
-2 votes
0 answers
41 views

The Else block is not running is any case in python [duplicate]

I am using if else block for conditioning the execution as follows: is_initialized = False def process_interaction(prompt, is_initialized): # No need for global flag if is_initialized == False: ...
Swasti Ranjan's user avatar
-4 votes
1 answer
77 views

Python using variables in module [closed]

How to call variables declared in one file to another file? Hi Everyone I have declared my variable in file1. My function is in file2 which uses the variable. How do I call my variable which is ...
R SRINIVASAN Srinivasan's user avatar
1 vote
2 answers
107 views

How to declare variable by using for-next loop

The following code is very good. Sub Macro1() 'Convert plain excel data to Excel Table. (Excel workbook consist of 3 sheets) For i = 1 To 3 Worksheets(i).Select Worksheets(i).ListObjects.Add ...
Dr. Somebody's user avatar
0 votes
1 answer
42 views

How to acces a Swing UI component without its variable name?

I wanted to create Buttons by clicking on a Button with following code: addButton.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) {...
Jonah's user avatar
  • 1
1 vote
1 answer
50 views

What happens when I have 2 static variables with the same name? [duplicate]

I am a Java beginner and am having trouble understanding the output of the System.out.println(((A)b).s) in the code. My understanding is that static variables can be changed anywhere in the class and ...
Amadeus's user avatar
  • 29
-1 votes
0 answers
39 views

Variable optimization in c [closed]

In c program if I use one variable frequently in arithmetic operation I heard about it going to optimized by compiler. but I don't know how it going to optimize and where that variable going to kept ...
Baranitharan 's user avatar
-1 votes
1 answer
52 views

Replace variables value in json from azure devops pipeline variable

I have variables in azure devops pipeline. I have json files on the server. I want to replace the variables values in json file from the variables in azure devops pipeline. I used file transform task. ...
dinesh prajapati's user avatar
0 votes
2 answers
59 views

How to count the number of cells in a range that has been named with the Dim statement in VBA [duplicate]

I am trying to figure out how to use things like .count with a range that I have stored as a variable in VBA I have made the following function which works Function test2() As Variant test2 = ...
Izak Nash's user avatar
-1 votes
0 answers
13 views

Dynamically populating drop-down variable

I am creating new Octopus Job. Created few required variables (prompt user for some input or selection of static values). But I also need a variable of drop-down type that cannot be populated prior ...
pegabgd63's user avatar
0 votes
0 answers
21 views

Issue with Airflow Variables Adding Extra Backslashes to Private Key

I'm encountering a peculiar issue with Airflow. I've stored a private key as a variable in Airflow, but it seems to be adding an extra backslash (\) to newline characters (\n). Here's an example of ...
daniel guo's user avatar

15 30 50 per page
1
2 3 4 5
3598