[gameprogrammer] Re: Global array variables

  • From: "®£$ǖ\"v@M$Ħ ¢© $..........." <theamericansushi@xxxxxxxxx>
  • To: gameprogrammer@xxxxxxxxxxxxx
  • Date: Sat, 8 Dec 2007 13:40:45 +0530

No i am not initializing the same variables in two functions i just want to
know how i can make my array a global variable?

On Dec 8, 2007 12:03 PM, Vince <uberneen@xxxxxxxxx> wrote:

> A simple search reveals that globals in blitz3d behave
> much like globals anywhere else.
>
> Refer to
> http://blitz3d.wikispaces.com/Understanding+Variables
> for examples.
>
> Without the text of the error message it's going to be
> very difficult to discern the real problem.  Maybe
> you're attempting to initialize a local variable of
> the same name inside one of your functions?
>
> Vince~
>
> --- "(R)£$ǖ\"v@M$Ħ ¢(c) $..........."
> <theamericansushi@xxxxxxxxx> wrote:
>
> > Hey,
> > I'm a blitz3d user and i have the following
> > problem....
> >
> > I have two files :
> > 1) The main program
> > 2) All my functions
> >
> > I have included the functions in my main program.The
> > main problem is:
> >
> > I have a array in my functions program and if i want
> > to call my array into
> > my main program I have to make it global which i
> > have done.....
> > But once I have done this it gives me a error ....
> > So what can i do to make
> > my array's global
> >
> > --
> > Reply,
> > (R)(((???£   Ŝǖ"v@ˉ˘MśĦ ¢  ???)))(c)
> > garbagegames.weebly.com- The next gen games........
> >
>
>
>
>
>  
> ____________________________________________________________________________________
> Never miss a thing.  Make Yahoo your home page.
> http://www.yahoo.com/r/hs
>
> ---------------------
> To unsubscribe go to http://gameprogrammer.com/mailinglist.html
>
>
>


-- 
Reply,
(R)(((???£   Ŝǖ"v@ˉ˘MśĦ ¢  ???)))(c)

Other related posts: