[REBOL] Re: Script Error: get_func_name has no value
From: rotenca:telvia:it at: 12-Apr-2002 17:26
Hi, coffre
get_func_name:make function! [chaine]
put a space between
get_func_name: make function! [chaine]
---
Ciao
Romano
----- Original Message -----
From: "COFFRE Richard FTO" <[richard--coffre--francetelecom--com]>
To: <[rebol-list--rebol--com]>
Sent: Friday, April 12, 2002 3:21 PM
Subject: [REBOL] Script Error: get_func_name has no value
Hi,
I have the following code :
REBOL[]
get_func_name:make function! [chaine]
[
guillemet: make string! {"}
remove/part chaine 6
foo: copy/part chaine 1 1
if foo == guillemet
[
remove/part chaine 1
]
;supprimer les 2 derniers caractères
clear skip tail chaine -2
return chaine
]
test:{"123456fonction rearzer r r12"}
print get_func_name [ test ]
When I run it, it raised the error :
** Script Error: get_func_name has no value
** Near: print get_func_name [test]
TIA
Richard Coffre
France Telecom Orbiscom
Tél. : 01 47 61 46 28