Hiya Steve. Ran a search on my email archives while I'm waiting for Index Server to finish indexing...I think this is what you're looking for.
I actually found three conversations on this, here's the titles and approximate date range: Uptime Results Sept02 Array Help/resultSet Oct02 Ping Rate-Off Topic Nov02 ciao, j > -----Original Message----- > From: steve [mailto:[EMAIL PROTECTED] > Sent: Friday, March 14, 2003 8:13 AM > To: [EMAIL PROTECTED] > Subject: RE: Witango-Talk: [OT] Simple If statement > > > Some time back, I asked a question on here, ( I searched the > archive) concerning and If or Elseif question. > > I was building a server up status taf that showed the > different ports of my servers and whether or not they were > online. When my external action brought back the information > it gathered, I had an > > <@IF>ping is present then show this > > <@ELSEIF> ping isn't present, etc..etc.. > > The code above is what someone helped me with. I hope I > explained this well enough. Any help would be appreciated. > > Thanks > Steve > > > > > > > ______________________________________________________________ > __________ > TO UNSUBSCRIBE: send a plain text/US ASCII email to > [EMAIL PROTECTED] > with unsubscribe witango-talk in the message body > ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
--- Begin Message ---Hi Steve, Try: <@assign local$ResponseArray value='<@filter local$resultSet expr="#1 contains 'time=30ms'">'> <@var local$ResponseArray[1,1]> Hope this helps. Cheers... ----- Original Message ----- From: "Campbell, Steve V." <[EMAIL PROTECTED]> To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]> Sent: Thursday, October 03, 2002 11:51 AM Subject: RE: Re: RE: Re: Witango-Talk: Array Help/resultSet Hi Scott Thanks for fast reply! That worked but it returned two rows, which it will probably always do since the chances of a row being similar or identical is very high. Now, I just need to isolate one of the similar rows. I get Reply from 63.171.170.69: bytes=32 time=30ms TTL=245 Reply from 63.171.170.69: bytes=32 time=30ms TTL=245 But I only need one of them??? Steve -----Original Message----- From: Scott Cadillac [mailto:[EMAIL PROTECTED] Sent: Thursday, October 03, 2002 12:07 PM To: Multiple recipients of list witango-talk Subject: Re: RE: Re: Witango-Talk: Array Help/resultSet Hi Steve, Try: <@filter local$resultSet expr="#1 contains 'time=30ms'"> Hope this helps. Cheers... ----- Original Message ----- From: "Campbell, Steve V." <[EMAIL PROTECTED]> To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]> Sent: Thursday, October 03, 2002 11:01 AM Subject: RE: RE: Re: Witango-Talk: Array Help/resultSet Jon Thanks for the reply and that's what I am trying to do is snip just one row out. But my string command is what is wrong in my example. That's what I was asking suggestions for. Thanks Steve -----Original Message----- From: Jon Grieve [mailto:[EMAIL PROTECTED] Sent: Thursday, October 03, 2002 11:45 AM To: Multiple recipients of list witango-talk Subject: RE: Re: Witango-Talk: Array Help/resultSet Steve, The first thing I think you need to consider is that the resultSet will be an array -- if I remember correctly, with one row per line of output. Once you find the row you want, then you can snip out the offset you require. Jon -----Original Message----- From: Campbell, Steve V. [mailto:[EMAIL PROTECTED] Sent: 03 October 2002 5:31 To: Multiple recipients of list witango-talk Subject: RE: Re: Witango-Talk: Array Help/resultSet Unusual question here, and one that I haven't' ever encountered before. I am pulling the results of an external action, (which, by the way is calling a batch file), and throwing the results into a result set. Below is the output: ----------------------------------------------- Pinging 63.171.170.69 with 32 bytes of data: Reply from 63.171.170.69: bytes=32 time=80ms TTL=245 Reply from 63.171.170.69: bytes=32 time=30ms TTL=245 Reply from 63.171.170.69: bytes=32 time=30ms TTL=245 Reply from 63.171.170.69: bytes=32 time=30ms TTL=245 Reply from 63.171.170.69: bytes=32 time=30ms TTL=245 Ping statistics for 63.171.170.69: Packets: Sent = 5, Received = 5, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 30ms, Maximum = 80ms, Average = 40ms ----------------------------------------------- All I need out of the above is the "time=30ms". All the rest of what is being returned I don't need at this time. I tried to do a <@LEFT STR='@@resultSet" NUMCHAR=40> but all I got back was the attributes of the HTML. (below) <TABLE BORDER="1"><TR><TD></TD></TR><TR> SO, can anyone educate me on what I am doing wrong?? I would appreciate any help on this. Thanks! Steve ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
--- End Message ---
