Hi Francois
To append to a file you can use write/append, or write/append/line. Just do
help on write for its many options.
But in relation to your error below, write is expecting to parameters.
1. A destination name of one these types (file! url! object! block!)
2. The data
> ** Access Error: Invalid port spec: testing the worf.
> ** Where: write details/description "hello"
Rebol is telling you that testing the worf. is not a valid parameter...
( try giving it a file name instead. to-file(filenamestring) )
Allen K
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 18, 1999 2:42 AM
Subject: [REBOL] write/append to a block
> Hi all...
>
> Can I append text to a block? I'm issuing the following command which seems
> rather simple...
>
> foreach [record details] db [
> [ if record = 80 [
> write details/description "hello"]
> ]
>
> with the following results....
>
> ** Access Error: Invalid port spec: testing the worf.
> ** Where: write details/description "hello"
>
> :(
>
> Any ideas
>
> Cheers
>
> Francois
>
>
>
> Fran�ois Prowse
> UK5 Systems Engineer
> UUNET. An MCI WorldCom Company.
> +44 7979 524 546
> Group Mail [EMAIL PROTECTED]
> Direct Mail [EMAIL PROTECTED]
>
>
>