Hi Bob, well, we'll see what other restrictions apply. Here's a first solution: >> do %4bob.r Script: "Untitled" (none) >> a1: false >> readFile "zzz" >> a1: 1 >> readFile "this" >> a1: false >> readFile "that" ----------- output ------------- includelevel: 1 zzz includelevel: 300 this includelevel: 1 this includelevel: 1 that The script: n1: 1 readFile: func [ name ] [ if a1 [ use [n1] [ n1: 300 doincl name n1 ] ] doincl name n1 ] doincl: func [name n1] [ print ["includelevel:" n1 name] ] ;- Elan >> [: - )]
- [REBOL] How do I ... bobr
- [REBOL] How do I call other apps in a cgi? Re: bobr
- [REBOL] How do I call other apps in a cgi? Re:(2) ralph
- [REBOL] How do I call other apps in a cgi? Re:(3) bobr
- [REBOL] How do I save and restore an array of object... bobr
- [REBOL] How do I save and restore an array of object... icimjs
- [REBOL] How do I save and restore an array of object... bobr
- [REBOL] How do I save and restore an array of object... icimjs
- [REBOL] How do I save and restore an array of object... Al . Bri
- [REBOL] How do I conditionally shadow a variable Re: bobr
- [REBOL] How do I conditionally shadow a variable Re:... icimjs
- [REBOL] How do I conditionally shadow a variable Re:... bobr
- [REBOL] How do I conditionally shadow a variable Re:... joel . neely
- [REBOL] How do I institute change to rebol Re: bobr
- [REBOL] OpenSource REBOL icimjs
- [REBOL] OpenSource REBOL Re: jbone
- [REBOL] OpenSource REBOL Re:(2) icimjs
- [REBOL] OpenSource REBOL Re:(3) nrc
- [REBOL] OpenSource REBOL Re:(3) jbone
- [REBOL] OpenSource REBOL Re:(4) icimjs
- [REBOL] OpenSource REBOL Re:(5) jbone