Top "Variables" questions

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

"No X11 DISPLAY variable" - what does it mean?

I am trying to install a Java application on my Linux machine (Slackware). I have received the following error, and …

java linux variables x11 headless
Test if number is odd or even

What is the simplest most basic way to find out if a number/variable is odd or even in PHP? …

php variables numbers
Set environment variables from file of key/value pairs

TL;DR: How do I export a set of key/value pairs from a text file into the shell environment? …

bash variables environment-variables
MySQL: @variable vs. variable. What's the difference?

In another question I posted someone told me that there is a difference between: @variable and: variable in MySQL. He …

mysql sql variables
Formatting a float to 2 decimal places

I am currently building a sales module for a clients website. So far I have got the sale price to …

c# variables floating-point decimal
Append to string variable

How can I append a word to an already populated string variable with spaces?

javascript string variables append
Viewing all defined variables

I'm currently working on a computation in python shell. What I want to have is Matlab style listout where you …

python variables
PHP - concatenate or directly insert variables in string

I am wondering, What is the proper way for inserting PHP variables into a string? This way: echo "Welcome ".$name."!" …

php string variables concatenation
Pass variables by reference in JavaScript

How do I pass variables by reference in JavaScript? I have three variables that I want to perform several operations …

javascript variables pass-by-reference
Set a path variable with spaces in the path in a Windows .cmd file or batch file

I'm new to script writing and can't get this one to work. I could if I moved the files to …

batch-file path variables cmd space