|
Pages: [1]
|
 |
|
Author
|
Topic: How to do a simple include in rebol ? Problem with binding. (Read 273 times)
|
|
rebolnotes
|
Hello,
I want to do a simple include in rebol (like in PHP). So I write somthing like do load %include.r
but I have problem with unknown variables and can't solve the problem of binding because the syntax is too weird for me.
Can someone gives me an example somewhere on internet because I can't find it ?
Thanks.
|
|
|
|
|
Logged
|
|
|
|
|
henrikmk
|
I want to do a simple include in rebol (like in PHP). So I write somthing like do load %include.r It should be possible to say: do %include.r. Using LOAD is in this case an extra step, unless your include code does not have a REBOL [] header. but I have problem with unknown variables and can't solve the problem of binding because the syntax is too weird for me. Could you elaborate? Normally, unknown variables are caused by other files not being included. It may not be a binding problem.
|
|
|
|
|
Logged
|
|
|
|
|
|
Pages: [1]
|
|
|
 |