Rebol Tutorial

Rebol Programming - Learn Rebol with Real-World Examples

Archives for Configuration

19 Dec by admin in All, Configuration, Console, Java, Setup, Shell, Syntax, Tools

How to read and parse your environment variables (System32, Java_Home, Classpath, Path…)

How to read and parse your environment variables (System32, Java_Home, Classpath, Path…)
Rebol has a native get-env function to read environment variables. For example, to test if your JAVA_HOME (JDK installation directory), CLASSPATH (for Java imports), CATALINA_HOME (for Tomcat) environment variables have been set, type in Rebol Console : get-env "JAVA_HOME" get-env "CLASSPATH" get-env "JRE_HOME" get-env "CATALINA_HOME" To parse your environment variable, just use parse/all ...more»

What is user.r file and where is it stored ?

What is user.r file and where is it stored ?
As explained in Rebol's Guide User.r is a startup script that Rebol will automatically load if it finds them. User.r is usefull for storing your User's settings like pop and smtp server or any other things like the history of console (see James Nak's Tip). If you're looking for it, you ...more»