14.04.2009, 22:56
Say I have 3 files...
file1.pwn
file2.pwn
file3.inc
... and file3.inc has a gloabal variable 'vari' declared at the top, whilst file1.pwn and file2.pwn are both filterscripts that have #include <file3> at the top.
If in file1 I do something like vari=5; will file2 now recognise vari as '5', or will it be '5' to file1 and '0' to file2?
I've recently started getting all the info about header size, code size, data size etc etc when compiling a script, so have been trying to spread code out in an appropriate manner, but just can't seem to get it working in harmony yet
Hope all this makes sense, and thanks in advance for your help and patience :P
file1.pwn
file2.pwn
file3.inc
... and file3.inc has a gloabal variable 'vari' declared at the top, whilst file1.pwn and file2.pwn are both filterscripts that have #include <file3> at the top.
If in file1 I do something like vari=5; will file2 now recognise vari as '5', or will it be '5' to file1 and '0' to file2?
I've recently started getting all the info about header size, code size, data size etc etc when compiling a script, so have been trying to spread code out in an appropriate manner, but just can't seem to get it working in harmony yet
Hope all this makes sense, and thanks in advance for your help and patience :P