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

[REBOL] Re: Pointers, Context in Rebol 3.0 (For the real Rebol Lovers)

From: anton:wilddsl:au at: 24-Mar-2007 11:40

Remake the function, binding its body to the template object: inst1: make template [f1: func first :a1 bind second :a1 template] inst1/f1 3 4 ;== 1.75 Or, you could bind the body of the original function (now referred to as f1) : inst1: make template [f1: :a1 bind second :f1 template] Anton.