|
Post by tbird on Jul 20, 2018 18:25:11 GMT -6
Hi, n00b how do I "include" another file I tried "include" and I am getting all sorts of funky errors.
Thanks
|
|
|
Post by tbird on Jul 20, 2018 18:57:49 GMT -6
OK, so it works if I leave the amount of lines blank in the main file as the included files has after the include command.
If that makes sense, if the included file is 40 lines and the include command is on line 1 of the main file, I need to leave line 2 - 41 blank or it mixes the code.
|
|
|
Post by n00b on Jul 20, 2018 19:14:38 GMT -6
To fix this follow these steps:
In Geany goto Edit->Preferences->Files and set the line endings to Unix. And in Document->Line Endings, make sure it is set to unix there as well.
|
|
|
Post by tbird on Jul 20, 2018 19:35:31 GMT -6
Thanks a mil n00b, that does it, I also adjusted a few more options to my liking, I was thinking wow that was going to be annoying. Haha.
Thanks again.
|
|