Skip to content
Prev 312212 / 398506 Next

Parsing of the comment character when sourcing a file

On 12-11-28 6:12 AM, Jim Lemon wrote:
It will work in both cases.  I suspect you have some other error in your 
code.

There are differences between source() and cut-and-paste, but this isn't 
one of them.  (The main difference I can think of is that source() will 
parse the whole file and will not run if there are
syntax errors, whereas cut-and-paste will execute things one at a time.)

Duncan Murdoch