[REBOL] Re: I am Master of Overcomplification.. Can this be simplified?
From: carl:cybercraft at: 9-Jan-2005 21:51
On Sunday, 9-January-2005 at 13:17:14 you wrote,
>
>Form1: ["Hours=" "(F1P1/text)" "&" "MP=" "(F1P2/text)" "&" "GP="
>"(F1P3/text)" "&" "VocPromo=" "(F1P4/text)"]
>
>view layout [
> F1P1: field ""
> F1P2: field ""
> F1P3: field ""
> F1P4: check-mark ""
> btn "Send" [LoadPage/post (Url) ( to-string compose load to-block rejoin
>Form1)]
>]
>
>Note: I am working on creating a web browser. So far, Forms, Images, and
>Text work.
>This was created by the browser loading a test form, that's why I have the
>Form1 block
>before anything else and can't create it inside the send button.
>
>Any way to simplify ( to-string compose load to-block rejoin Form1) ?
Do you really need the parens in strings in Forml? As I think without them just a REJOIN
should give the same results. ie...
Form1: ["Hours=" F1P1/text "&MP=" F1P2/text "&GP=" F1P3/text "&VocPromo=" F1P4/text]
and...
btn "Send" [LoadPage/post (Url) rejoin Forml]
I might've mis-read what you were trying to do, or course...
-- Carl Read.