Hey Jason,
I was mistaken in that my last example only worked well in a "prefaced"
situation.  What you really want is this:

garblyjunkbinaryfile
[
    REBOL []
    confirm "This is a test."
]
garblyjunkbinaryfile

There is a problem I discovered, a bug probably.  Seems that the null characters
in the png file are disrupting REBOL's ability to trigger.  Without nulls
present, the embedding works fine. Example:

>> write/binary %test "^@^/[ rebol [] confirm {Works?} ]"
>> do %test
** Syntax Error: Script is missing a REBOL header
** Where: do-boot
** Near: do %test
>> write/binary %test " ^/[ rebol [] confirm {Works?} ]"
>> do %test
== true
>>

I sent a feedback, hopefully they get around to fixing it soon,

--Ryan


Jason Cunliffe wrote:

> "Ryan Cole" <[EMAIL PROTECTED]> wrote
> > Should be even easier than that.  Just insert something like this into
> it...
> >
> > REBOL[]
> > confirm "This is a test."
> > halt
> >
> > Just make sure you have the code enveloped in linefeeds.  REBOL was
> designed to
> > do this already.
>
> Hi Ryyan
> I don't quite understand you.
> ..what "this" REBOL was design to do ?
>
> How will wrapping my embedded script in linefeeds help?
> How will I know I am at the end of my script and at some space in the middle
> of it?
>
> thanks
> - Jason
>
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.

--


     Ryan Cole
 Programmer Analyst
 www.iesco-dms.com
    707-468-5400

The contradiction so puzzling to the ordinary way
of thinking comes from the fact that we have to use
language to communicate our inner experience
which in its very nature transcends lingistics.
-D.T. Suzuki


-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to