Search Result

Collapse
2 results in 0.0042 seconds.
Keywords
Members
Tags
global variable
  •  

  • How To Create/Declare Global Variable/s in VB.Net (Web Forms)

    Hi all,
    I am a newbie in VB.Net and was kind of lost in programming using it compared to the old VB6.

    In VB6 I was able to create, declare or assign values to global variables. But now, it seems that every variable should be included in some class (I'm not sure).

    What I need to do is to have some global variables and use them to different web pages without using the classes. What I mean is I do not like to use...
    See more | Go to post

  • KirbyIwaki
    started a topic Arrays T_T
    in Java

    Arrays T_T

    I have a global variable, something like this:

    Code:
    public class Comisiones {
    	
    	double monto,max=0,min=0
    Now... I have a Comisiones array, declared in the main, something like this:

    Code:
        public static void main(String[] args) {
            Comisiones x[]=new Comisiones[20];
    That means each Comisiones object will have its own monto, max, and min variables... but what if I want...
    See more | Go to post
Working...