Script filters?

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

DFH
Posts: 636
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Script filters?

Postby DFH » Mon Mar 12, 2012 2:18 am

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

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

Re: Script filters?

Postby DataMystic Support » Tue Mar 13, 2012 9:01 am

Hi David,

We will make this clearer - but global variables are truly global (ie TextPipe.setGlobalVar( '...' ) ) and can be shared between script filters.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

DFH
Posts: 636
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Re: Script filters?

Postby DFH » Wed Mar 14, 2012 5:51 am

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

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

Re: Script filters?

Postby DataMystic Support » Thu Mar 15, 2012 2:26 pm

Notes made clearer for v9.1. No worked examples as yet
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 1 guest