Top "Variables" questions

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

Calling a JavaScript function named in a variable

I have a JavaScript variable which contains the name of a JavaScript function. This function exists on the page by …

javascript function variables
How to use a variable inside a regular expression?

I'd like to use a variable inside a regex, how can I do this in Python? TEXTO = sys.argv[1] if …

python regex python-3.x variables escaping
How do I get the value of a registry key and ONLY the value using powershell

Can anyone help me pull the value of a registry key and place it into a variable in PowerShell? So …

variables powershell registrykey
How to remove a newline from a string in Bash

I have the following variable. echo "|$COMMAND|" which returns | REBOOT| How can I remove that first newline?

bash variables
shared global variables in C

How can I create global variables that are shared in C? If I put it in a header file, then …

c variables linker global-variables scope
How to store standard error in a variable

Let's say I have a script like the following: useless.sh echo "This Is Error" 1>&2 echo "This Is …

bash shell redirect variables stderr
VBA Check if variable is empty

I have an object and within it I wanna check if some properties is set to false, like: If (not …

vba object variables is-empty
Dynamic variable names in Bash

I am confused about a bash script. I have the following code: function grep_search() { magic_way_to_define_magic_…

bash variables dynamic syntax
Environment variables in Eclipse

I am able to run a sample hadoop program from the command prompt and am trying to run the same …

java eclipse variables environment
How to get the type of a variable in MATLAB?

Does MATLAB have a function/operator that indicates the type of a variable (similar to the typeof operator in JavaScript)?

matlab variables types