Hi Robert,

Maybe something like this?

if theBuffer is empty then
  put "Error: no data returned"
else
  -- remainder of script
end if

Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http;//www.salery.com

Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com


Op 10-aug-2007, om 19:26 heeft Robert Mann het volgende geschreven:

How do I find out if in the following theBuffer is empty?



#!Linux



--| PayPal PDT CGI

--| (c)Thomas McCarthy

--| speakup at mac

--| March 1, 2006

--| Used to present a web page to customers



on startup

  --StartCGI

  --read info

 put $QUERY_STRING into theBuffer

  put theBuffer into theTermsArray --keep the original info.

  put "myLibUrl.rev" into theStack

  start using stack theStack

  put the result into tresult

  split theTermsArray by "&" and "="

  put theTermsArray["tx"] into tvalue

  put "cmd=_notify-synch" into tnotify

  put "&tx=" & tvalue into tToken

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to