I'm just chewing my way through learning a bit of George, and when I try to include a file I get this error.
From the main script I stick this at the top:
#INCLUDE "kc-functions.grg"
And I get the error "ERROR:Main program can't be truncated"
All I have right now in "kc-functions.grg" is a dummy function that just runs a for loop that I call from the main script, the syntax should be correct because it worked fine when I had it in the main script.
Main program can't be truncated using INCLUDE?
Main program can't be truncated using INCLUDE?
There's no place like ~/
Re: Main program can't be truncated using INCLUDE?
Bah, nevermind I should learn to read.
I'm used to sticking include statements at the top and in George they need to be at the bottom:
I'm used to sticking include statements at the top and in George they need to be at the bottom:
There's no place like ~/
Re: Main program can't be truncated using INCLUDE?
No problem KenC It's great you've found what you were looking for =)