ya u r right. I just wrote a quick example to show ya what my problem was. I do know the order for common shared and stuff. Sorry about the wrong order of code.
Ill try some suggestions.
Yes I did include Rellib in all the modules when let me give ya a vage example.
----start here------
declare Sub Sub1 ()
declare Sub Sub2 ()
MainModule
DEFINT A-Z
'$STATIC
'$DYNAMIC
'$INCLUDE: 'RelLib.Bi'
common shared BUFFER(31999) AS INTEGER, layer AS INTEGER
layer = VARSEG(BUFFER(0))
common...
hello. I am making a prog with modules. I am using a library to make this prog.(Rellib) anyways i am having problems common sharing arrays, and sprites and stuff. My pc always restarts when i load a sub that is not in the main module. does anyone know how to remedy this problem.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.