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
Script filters?
Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators
- DataMystic Support
- Site Admin
- Posts: 2227
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
Re: Script filters?
Hi David,
We will make this clearer - but global variables are truly global (ie TextPipe.setGlobalVar( '...' ) ) and can be shared between script filters.
We will make this clearer - but global variables are truly global (ie TextPipe.setGlobalVar( '...' ) ) and can be shared between script filters.
-
- Posts: 987
- Joined: Sun Dec 09, 2007 2:49 am
- Location: UK
Re: Script filters?
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
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
- DataMystic Support
- Site Admin
- Posts: 2227
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
Re: Script filters?
Notes made clearer for v9.1. No worked examples as yet