Post new topic Reply to topic  [ 2 posts ] 

Board index : TeleFlow Forums : TeleFlow Designer & Simulator

Author Message
 Post subject:
PostPosted: Fri Mar 05, 2004 3:21 am 
Offline

Joined: Sat Aug 09, 2003 12:00 pm
Posts: 20
Location: Iran
I need arrays but at present arrays are not supported in TF2004. <br> <br>Can anyone suggest a workaround? <br> <br>Thank you


Back to top
 Profile WWW 
 
 Post subject:
PostPosted: Fri Mar 05, 2004 5:02 pm 
Offline

Joined: Wed Mar 19, 2003 4:28 pm
Posts: 510
Location: Canada
Construct a TeleFlow variable that contains all of your values delimited by a character that wouldn't otherwise appear in the set of daya you are using. (We typically use the tilde ~ character) <br> <br>Your data might look something like this: <br>123~43243~987887~342~23423~ <br> <br>Then, when you need to get a particular 'array element', use TeleFlow's Parse step as follows: <br>@SINGLE_ELEMENT_VARIABLE = @ARRAY_VARIABLE <br>Delimiting String: ~ <br>Search From: Beginning of text <br>For occurrence #: @OCCURRENCE_NUMBER <br>where @SINGLE_ELEMENT_VARIABLE gets the value in the 'array element' specified by @OCCURRENCE_NUMBER. <br>You can set this up in a loop that parses, plays the value to the caller (this is just an example of a typical use of this within TeleFlow), increments @OCCURRENCE_NUMBER by 1, then parses again. When the Parse step fails, you have looped through the entire 'array'. <br> <br>If this doesn't quite match what you are attempting to do, provide a description in your next post, and we will try to provide a workaround that is closer to what you need.


Back to top
 Profile WWW 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Board index : TeleFlow Forums : TeleFlow Designer & Simulator


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Style by Midnight Phoenix & N.Design Studio
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.