Top "Variables" questions

THIS IS AMBIGUOUS; USE SPECIFIC-LANGUAGE TAGS WHENEVER APPLICABLE.

How to create module-wide variables in Python?

Is there a way to set up a global variable inside of a module? When I tried to do it …

python variables singleton module scope
Add php variable inside echo statement as href link address?

I'm trying to use a php variable to add a href value for a link in an echo statement. Here's …

php variables echo href double-quotes
Java system properties and environment variables

What's the difference between system properties System.getProperties() and environment variables System.getenv() in a JVM?

java variables properties system environment
php - insert a variable in an echo string

$i = 1 echo ' <p class="paragraph$i"> </p> ' ++i Trying to insert a variable into …

php variables echo
Is it possible to declare a public variable in vba and assign a default value?

I want to do this but it won't compile: Public MyVariable as Integer = 123 What's the best way of achieving this?

vba variables default-value public variable-declaration
Simpler way to create dictionary of separate variables?

I would like to be able to get the name of a variable as a string but I don't know …

python string variables
How do you use script variables in psql?

In MS SQL Server, I create my scripts to use customizable variables: DECLARE @somevariable int SELECT @somevariable = -1 INSERT INTO …

sql postgresql variables psql
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
How can I define colors as variables in CSS?

I’m working on a CSS file that is quite long. I know that the client could ask for changes …

css variables colors css-variables
How to return the output of stored procedure into a variable in sql server

I want to execute a stored procedure in SQL Server and assign the output to a variable (it returns a …

sql sql-server variables stored-procedures