I think you may be looking for something like this:

db: [ [45] [ description "Goodbye" ] [ 80 ] [ description "I am 80" ] ]
    
foreach [record details] db [
    record-integer: to-integer reform record 
    if record-integer = 80 [append  details/description "hello"]
]


At 04:42 PM 11/17/99 +0000, you wrote:
>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]
>
>
>
Mike Yaunish
email: [EMAIL PROTECTED]

Reply via email to