> Try:
> print rejoin ["Hello " name "."]

or

try this way if the contents don't need to be reduce (evaluated)

print join "Hello" [" name" "."]


 ? join
Concatenates values.
Arguments:
    value -- Base value
    rest -- Value or block of values
>> ? rejoin
Reduces and joins a block of values.
Arguments:
    block -- Values to reduce and join (block)
>>

Cheers,

Allen K


>
> [EMAIL PROTECTED] wrote:
>
> > Hi, could someone please fix the following simple program so that the
period
> > shows up right after the variable as opposed to being spaced one character
> > away? Many thanks.
> >
> > REBOL [
> >     Title:  "Asking questions and remembering the result"
> >     Date:   14-Oct-99
> >     Author: "T.M. Brannon"
> >     Email:  [EMAIL PROTECTED]
> >     File:   %asking-questions.r
> >     Purpose:    {
> >         Ask a question and remember the result
> >     }
> >     Category: [file script utility]
> > ]
> >
> > name: ask "What is your name? "
> > print [ join "Hello " name "." ]
>
>

Reply via email to