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

[REBOL] noob question: foreach usage

From: dougedmunds:g:mail at: 15-Apr-2008 17:47

How do I print the values of x1 and x2 in the foreach loop? ;---- start code send2: func [ arglist ][ print arglist ; prints the values foreach arg arglist [print arg ] ; prints 'x1' 'x2', not values ] view layout [ field1: field "3" field2: field "4" button "send" [ x1: field1/text x2: field2/text send2 [x1 x2] ] ] ;-----end code