How to create a global array?
Blitz3D Forums/Blitz3D Programming/How to create a global array?
| ||
Hi, Trying to create an global array to use in each function. I tried doing this : GLOBAL DIM img(30) but it do not work. Please help. thanks |
| ||
Dim is global by default. You should however create an array before you are using it. |
| ||
thanks for the response. but when I tried to use it it gives me an error the error is : function not found . please help |
| ||
I can't really tell what your problem is without any example. But here is how you create an array and use it in a function: |