>- Open Your Mind -<



Quoting from [EMAIL PROTECTED]'s message (07-Sep-00 22:02:43).

p>>> letter2: func [b /local name] [foreach n ["sally" "sue"][ name: n print reform 
reduce b] ]
p> 
p>>> form
p> == ["hi" name "welcome back"]
p> 
p>>> name
p> == "bob"
p> 
p>>> letter2 form
p> hi bob welcome back
p> hi bob welcome back
p> 
p> ... the only problem is I was hoping that the loop values in letter2 would take 
precedence over the globally bound value of name and allow me to create a form letter 
of sorts.
p> 
p> Could anyone help with this please?

letter2: func [b /local name] [foreach n ["sally" "sue"][ name: n print bind b 'name] ]

Note that I don't really believe I've understood this myself. :-9


Also note you've just redefined the *form* native function...




Alessandro Pini ([EMAIL PROTECTED])

"I'm just the... *shadow* of my former self." (Morden)

Reply via email to