Multiple File Interaction
#1

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
Reply


Messages In This Thread
Multiple File Interaction - by Benjo - 14.04.2009, 22:56
Re: Multiple File Interaction - by gtachile - 14.04.2009, 23:49
Re: Multiple File Interaction - by Sandra18[NL] - 15.04.2009, 00:18
Re: Multiple File Interaction - by Benjo - 15.04.2009, 03:11

Forum Jump:


Users browsing this thread: 2 Guest(s)