About 50 results
Open links in new tab
  1. 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 keyword where …

  2. 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 package.

  3. Adding a directory to the PATH environment variable in Windows

    Mar 3, 2012 · I am trying to add C:\\xampp\\php to my system PATH environment variable in Windows. I have already added it using the Environment Variables dialog box. But when I type into my console: …

  4. Add a folder to the PATH environment variable in Windows 10 (with ...

    May 15, 2025 · On StackOverflow and on the internet in general, there are outdated and few guides on how to add a specific folder to the Windows 10 PATH environment variable of the user. I think a …

  5. How can I check for an undefined or null variable in JavaScript?

    While literally using the keyword undefined, Boolean(undefined) works, trying that with an undefined variable doesn't work, and that is the whole point of doing the check for null or undefined.

  6. Setting JAVA_HOME environment variable in MS Windows

    14 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 10 – …

  7. cmd - How can I update the PATH variable permanently from the …

    From here you can tell it might be possible to set a variable not only for the currently logged in user but for the machine by using /m at the end of the command, on windows xp and 7. I haven't tried it though.

  8. Create timestamp variable in bash script - Stack Overflow

    Jun 12, 2013 · I am trying to create a timestamp variable in a shell script to make the logging a little easier. I want to create the variable at the beginning of the script and have it print out the current time

  9. Setting PATH environment variable in macOS permanently

    Creating a file for variable name and paste the path there under /etc/paths.d and source the file to profile_bashrc. Export path variable in ~/.profile_bashrc as export VARIABLE_NAME = $ …

  10. How do I fix maven error The JAVA_HOME environment variable is not ...

    Jun 21, 2017 · Also, sometimes it might cause some problems if the java_home variable is not included in the user variables for administrators' section. So also add them there if you are logged into the …