Post new topic Reply to topic  [ 2 posts ] 

Board index : TeleFlow Forums : TeleFlow Designer & Simulator

Author Message
 Post subject:
PostPosted: Mon Mar 13, 2006 10:39 am 
Offline

Joined: Fri Jul 23, 2004 2:50 pm
Posts: 59
Location: USA
During the entry of time by a caller, the time must have the format of HHMM. Since 7 O'clock may be entered as 0700 or 700, how should the entered time be forced consistently to a string of 4 positions such as 0700. This will be used to create a string such as yyyymmddhhmm for determining timing of an action. <br> <br>Is there a better way of doing this such as an existing time date function or flowchart available based on a 12 hour clock. <br> <br>Thanks for the reply...


Back to top
 Profile WWW 
 
 Post subject:
PostPosted: Tue Mar 14, 2006 3:30 pm 
Offline

Joined: Wed Mar 19, 2003 4:28 pm
Posts: 510
Location: Canada
Use the BasicScript step (refer to the TeleFlow manual, in the "BasicScript" chapter, which is a subchapter of the "1 - Develop Applications with TeleFlow Designer" chapter for help on the BasicScript step) to get the length (using the LEN function) of the string the user enters. <br> <br>If it is a length of 4, carry on. Otherwise, append your string to a "0". You might have to do other tests and string manipulation as well. For example, maybe the user will just enter 7. (although, you can give them instructions to enter the numbers a particular way, and if they don't, play a retry message and make them enter it again)


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.