Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: On list! inconsistency [was Re: WYSIWYG programming]

From: g:santilli:tiscalinet:it at: 3-Nov-2000 11:45

Rishi Oswal wrote:
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; code in here does not work > insert-it: :insert > insert: func[item [any-type!]] [insert-it list item] > ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Right word, wrong context. You're inside an object definition, so 'insert refers to the object's 'insert, which is unset! at that time. Try with: insert-it: get in system/words 'insert or simply avoid using the word 'insert in your object. HTH, Gabriele. -- Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/