About 15,500,000 results
Open links in new tab
  1. How to pass a variable into a YAML template parameter and use it …

    Feb 15, 2025 · If you are passing a variable into a template parameter with the intention of using it as part of another runtime expression, the easiest method is to copy the parameter to a variable.

  2. How can I use a global variable in a function? - Stack Overflow

    Jul 11, 2016 · How do I create or use a global variable inside a function? How do I use a global variable that was defined in one function inside other functions? Failing to use the global …

  3. Is there a JavaScript equivalent of PHP’s “variable variables”?

    Unlike PHP, JavaScript doesn't offer access to the globals array (which contains references to all the variable names currently declared). As such, JavaScript does not offer native support for …

  4. How can I fix "UnboundLocalError: local variable referenced before ...

    If you set the value of a variable inside the function, python understands it as creating a local variable with that name. This local variable masks the global variable.

  5. Defining and using a variable in batch file - Stack Overflow

    I'm trying to define and use a variable in a batch file. It looks like it should be simple:

  6. MySQL: @variable vs. variable. What's the difference?

    Function variable for which the scope ends when function exits. Package body variables defined at the top of package and outside all functions whose scope is the session and visibility is …

  7. Setting JAVA_HOME environment variable in MS Windows

    13 Set the JAVA_HOME Variable Windows 7 – Right click My Computer and select Properties > Advanced Windows 8 – Go to Control Panel > System > Advanced System Settings Windows …

  8. How to read file contents into a variable in a batch file?

    Jun 18, 2010 · Read file contents into a variable: for /f "delims=" %%x in (version.txt) do set Build=%%x or set /p Build=<version.txt Both will act the same with only a single line in the file, …

  9. SQL Server SELECT INTO @variable? - Stack Overflow

    Jan 8, 2015 · SQL Server SELECT INTO @variable? Asked 14 years, 10 months ago Modified 8 months ago Viewed 1.1m times

  10. plsql - Declaring a variable and setting its value from a SELECT …

    DECLARE the_variable NUMBER; BEGIN SELECT my_column INTO the_variable FROM my_table; END; Make sure that the query only returns a single row: By default, a SELECT …