Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: How to do a simple include in rebol ? Problem with binding.
Pages: [1] Print
Author Topic: How to do a simple include in rebol ? Problem with binding.  (Read 312 times)
rebolnotes
Newbie
*
Offline Offline

Posts: 23


View Profile
How to do a simple include in rebol ? Problem with binding.
« on: July 08, 2007, 03:33:55 AM »

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
Jr. Member
**
Offline Offline

Posts: 50


View Profile
Re: How to do a simple include in rebol ? Problem with binding.
« Reply #1 on: July 12, 2007, 10:35:58 AM »

Quote
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.

Quote
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] Print 
Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: How to do a simple include in rebol ? Problem with binding.
Jump to:  

  
Quick Search...

Advanced search
  
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 21, 2008, 09:45:32 PM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2295 Posts in 593 Topics by 3763 Members
Latest Member: svolika

  Rebol Talk Forum | Powered by SMF 1.0.9.
© 2001-2005, Lewis Media. All Rights Reserved.

RT design by Defiant Pc