My last post was a little premature...

The problem lies in the fact that a word within a block is just a word.
This code should make it all work...

web-data: read/custom http://chiex04.algx.com/phone/phone_search_results.asp
reduce ['post txt-search]

use REDUCE or COMPOSE to get the value of the word (txt-search in this case)
An example using compose...

web-data: read/custom http://chiex04.algx.com/phone/phone_search_results.asp
compose [post (txt-search)]

HTH
~~Ammon ;~>


----- Original Message ----- 
From: "Greg Brondo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 01, 2004 4:39 PM
Subject: [REBOL] newbie question (and some frustration)


>
> The code below fails with the error listed.  The /custom refinement
expects a
> block '[post <string>]'.  However, it doesn't like a word that's value is
a
> string.  What gives?  Anyone please help!  I've wasted a good hour trying
to
> make this work.
>
> fld_lastname: "brondo"
> fld_firstname: "greg"
> txt-search: rejoin ["txtLastname=" fld_lastname "&txtFirstname="
fld_firstname]
>  web-data: read/custom
http://chiex04.algx.com/phone/phone_search_results.asp  [post txt-search]
> print web-data
>
> Any ideas?
> -- 
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the subject.
>
>
>
>



-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to