Raven Manual - Whitespace and Indentation
As of version 20060130, the engine does not care whether you use spaces (ASCII #20) or tabs (ASCII #9) to indent source code blocks. However, it is best to choose one or the other and be consistent. My preference is to use tabs for indentation and spaces for alignment. Eg:
define some_function <tab>"hello world\n".......print <tab>"and goodbye world\n".print
The <tab> defines the indentation of the body of the function. The . (space) aligns the print statements. The following code is identical and preferable for some folks:
define some_function2 ...."hello world\n".......print ...."and goodbye world\n".print
|