Domanda

can I get the value of a variable declared in a procedure then use it in an if condition in another one , and how please ?

È stato utile?

Soluzione

You have to either pass the value to the other procedure as an input parameter, or store the value somewhere that both procedures can reach it, such as a class member if both procedures are members of the same class, or in a global variable. Your question is pretty vague on details, so I can't provide much of an answer beyond this.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top