Most voted "global" questions
8 questions
Sort by count of
-
6
votes1
answer132
viewsIs using ID as a global variable a good practice in JAVASCRIPT?
I discovered that there is a new way to rescue and define values to any HTML tag, using its ID as a variable: <html> <head> <title>Meu Teste</title> </head>…
-
4
votes1
answer102
viewsUse of "global" with mysqli leaves the connection open?
In this form of access to the bank with mysqli I was in doubt whether two connections are opened, and whether, after closing the $stmt, if there is still a connection always open. The use is…
-
1
votes2
answers208
viewsDeclaration of a global array of C structures
I created a structure cliente and the next idea would be to create a array clientes. My idea would be to declare array clientes globally, so that all functions can interact without passing it as an…
-
1
votes0
answers29
viewsGlobal variable in C
Good afternoon, I need to use a global variable that depends on a condition in a code. I have the following documents Code2.cpp and Code3.cpp, both contain the Code1.h. I declared an extern on…
-
0
votes1
answer111
viewsHow to access a global application.json variable in . NET Core c#
I am new with programming and I’m having difficulty accessing a Token that is as variable in the file application.json. It is a console application, the goal is only to use the token of the global…
-
0
votes0
answers19
viewsVisual Studio in English, but SSIS in Portuguese. How to change?
I need a little help, I have Visual Studio 2019 installed in the English language, but when I open an Integration Service project, Toolbox options appear in Portuguese. I tried to go to Tools >…
-
-1
votes1
answer72
viewsedit local variable out of function
Hello! How do I change a local variable from a function by external commands to the function? Example: Create the function def totalValue(type): try: valor = float(texto[0]) except: valor = 0 total…
-
-1
votes1
answer48
viewsChange global branch to main in Ubuntu 20
How do I permanently (globally) change the git branch from "master" to "main" in Ubuntu 20?