In the basic tutorial all but the last bit of code says to use include "cybot.cyc"
That is wrong and should be include "cybot.cyc";
As is put on the last example
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, you are quite correct, I will update the documentation accordingly - well spotted by the way.
This is a subtle difference from C, in which #include "abc.h" does not have a trailing ';'. In Cycle, include is actually a statement so that it needs a trailing ';' mark the end of the statement.
Thanks whoever you are.
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the basic tutorial all but the last bit of code says to use include "cybot.cyc"
That is wrong and should be include "cybot.cyc";
As is put on the last example
Yes, you are quite correct, I will update the documentation accordingly - well spotted by the way.
This is a subtle difference from C, in which #include "abc.h" does not have a trailing ';'. In Cycle, include is actually a statement so that it needs a trailing ';' mark the end of the statement.
Thanks whoever you are.
Robert