Could you set it up to include the 1st value in a loop, then each new
value added is in elements 2, 3, 4..... N ?
I.e.
my array[100] = "";
array[0] = Orginal string;
for loop on array(1 to 100)
{
set new values in array;
}
For loop (length of array)
{
print out values + "\n";
}
so you might have:
Original Value
New 2
New 3
New 4
New 5
Paul.
Anja Le Blanc wrote:
> Hi All,
>
> Sorry to pick up an old thread again. But is there a workaround to have
> a global variable in the current version of Taverna (2.1 Beta 2)?
>
> I want to have a Beanshell which runs iteratively and always does one
> thing, but the first time the inputs come in some configuration it
> should also do something else (only the first time) - so I need to
> remember a previous state somewhere.
>
> Best regards,
> Anja
>
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/