Script filters?

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
dfhtextpipe
Posts: 986
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Script filters?

Post by dfhtextpipe »

Hi Simon,

If you have more than one script filter in a TextPipe filter, are they completely independent from one another?

If they both make use of global variables, must they use different variable names to avoid interfering with one another?

The help file does not address this question. Perhaps it should make this clear.

David
David
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Script filters?

Post by DataMystic Support »

Hi David,

We will make this clearer - but global variables are truly global (ie TextPipe.setGlobalVar( '...' ) ) and can be shared between script filters.
dfhtextpipe
Posts: 986
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Re: Script filters?

Post by dfhtextpipe »

Thanks Simon.

As this potentially can give rise to pitfalls, the help needs to be very clear - preferably with some worked examples.

It may not be so obvious in some circumstances, as for example when a Link to TextPipe filter file (.fll)
is used more than once in a TextPipe filter, and where several of the external filter files happen to contain script filters.

David
David
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Script filters?

Post by DataMystic Support »

Notes made clearer for v9.1. No worked examples as yet
Post Reply