Top "Dynamic-variables" questions

In programming, a dynamic variable is a variable whose address is determined when the program is run.

Use dynamic variable names in JavaScript

In PHP you can do amazing/horrendous things like this: $a = 1; $b = 2; $c = 3; $name = 'a'; echo $$name; // prints 1 Is there …

javascript dynamic-variables
Using braces with dynamic variable names in PHP

I'm trying to use dynamic variable names (I'm not sure what they're actually called) But pretty much like this: for($…

php variables dynamic dynamic-variables
Assigning variables with dynamic names in Java

I'd like to assign a set of variables in java as follows: int n1,n2,n3; for(int i=1;i&…

java variables dynamic-variables
JavaScript Dynamic Variable Names

Ok so I want to create variables as a user clicks threw the code every click adds a new variable. …

javascript jquery variables dynamic dynamic-variables
Are Variable Operators Possible?

Is there a way to do something similar to either of the following: var1 = 10; var2 = 20; var operator = "<"; console.log(…

javascript variables operators operator-keyword dynamic-variables
Is there an easy way to create dynamic variables with Javascript?

I've built a data-driven google map with different icons that get assigned to the map depending on the type of …

javascript dynamic-variables
Evaluate dynamic variable name in ansible

I have vars where I put something like this: vars/main.yml hello_port: 80 world_port: 81 in my ansbile file …

ansible dynamic-variables
Can I create dynamic object names in JavaScript?

Possible Duplicate: javascript - dynamic variables Dynamic Javascript variable names I need to create a number of objects on a …

javascript dynamic-variables
Using the value of a variable as another variables name in Ruby

I'm just starting out in learning Ruby and I've written a program that generates some numbers and assigns them to …

ruby variables dynamic-variables
Replacing Text Inside of Curley Braces JavaScript

I am trying to use JavaScript to dynamically replace content inside of curly braces. Here is an example of my …

javascript replace match curly-braces dynamic-variables