Hi all,

I just cannot wrap my head around this one. I would like to implement scripting 
support to a pure FPC application. The application implements some modifier on 
an internal data structure which will be exposed to python as a module. The 
data structure itself is managed by the calling application. How to do this?

Something like:
- FPC app has integer variable a=1
- FPC app calls python script
- Python script adds 10 to a eg pymod.increase_counter(10)
- FPC app variable a is now 11

Does anyone know of a minimal example or pseudo code or just an explanation?

Rgds. Darius
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to