http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

Wise2Food



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gameprogrammer] Re: Global array variables



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@yahoo.com> 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~

--- "®£$ǖ\"v@M$Ħ ¢© $..........."
<theamericansushi@gmail.com> 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,
®(((???£   Ŝǖ"v@ˉ˘MśĦ ¢  ???)))©