[fpc-devel] RIP NoGlobals

Hans-Peter Diettrich DrDiettrich1 at aol.com
Wed Sep 29 16:00:57 CEST 2010


Adem schrieb:

>> I couldn't find any way to move global variables from globals.pas into 
>> e.g. fmodule (tmodule, current_module), without breaking ppudump 
>> dependencies. 
> I suspect you have thought about this, but let me try anyway.
> 
> If globals.pas is where twins are conjoined (think of Siamese twins), 
> how about (instead of having a separate executable for 'ppudump') 
> consuming 'ppudump' functionality into the main executable (and 
> activating it through a commadline switch)?

Great :-)

Will this solution be acceptable?

DoDi




More information about the fpc-devel mailing list