[REBOL] Re: view indirection

2001-11-21 Thread pat665, french new rebolist
[EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 20, 2001 7:43 PM Subject: [REBOL] Re: view indirection Hi Patrick, Once upon a time Patrick Philipot spoketh thus: set-check: func [n [integer!] /local code ][ code: copy code: join join set in c n join 'data true show c n

[REBOL] Re: view indirection

2001-11-21 Thread pat665, french new rebolist
Hi Sterling This is clean and elegant. Thanks to the rebol-list, I have now many ways to perform the required task with style ! Thanks again Patrick - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 20, 2001 7:13 PM Subject: [REBOL] Re: view

[REBOL] Re: view indirection

2001-11-21 Thread pat665, french new rebolist
Hi Ryan That's working. However I don't understand what is user-data. Could you explain it to me . Thanks Patrick - Original Message - From: Ryan Cole [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 20, 2001 6:48 PM Subject: [REBOL] Re: view indirection Hello, I

[REBOL] Re: view indirection

2001-11-21 Thread Ingo Hohmann
Hi Patrick, From WordNet (r) 1.7 [wn]: (shortened!) probe n 1: an inquiry into unfamiliar or questionable activities; there was a congressional probe into the scandal v 1: question or examine thoroughly and closely Once upon a time pat665, french new rebolist spoketh thus:

[REBOL] Re: view indirection

2001-11-21 Thread Reboliste amateur
Wow ! It tooks Rebol almost seven minutes to throw it up on my Pentium 200 Mhz. Thanks for this valuable lesson. Patrick - Original Message - From: Ingo Hohmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 21, 2001 4:27 PM Subject: [REBOL] Re: view indirection

[REBOL] Re: view indirection

2001-11-20 Thread Ryan Cole
Hello, I am assuming the following wont work because you need to loop through your checkboxes: C5/data: true I would consider somthing like this more elegant... win: view/new layout [check user-data 1 check user-data 2 check user-data 5] set-check: func [number value] [ repeat index

[REBOL] Re: view indirection

2001-11-20 Thread sterling
Here's another option: Make a list of the checkboxes either directly: checks: reduce [c1 c2 c3 c4 ...] or iteratively: checks: copy [] repeat x 16 [append checks to-word join c x] reduce checks Now when you need to access one: set-check: func [n

[REBOL] Re: view indirection

2001-11-20 Thread Ingo Hohmann
Hi Patrick, Once upon a time Patrick Philipot spoketh thus: set-check: func [n [integer!] /local code ][ code: copy code: join join set in c n join 'data true show c n print [generated code ; code] do code ] IT IS WORKING ! (the print is only for debugging purpose). However I am