Menu

Error in basic tutorial

Help
2004-09-14
2004-09-14
  • Nobody/Anonymous

    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

     
    • rhthornburrow

      rhthornburrow - 2004-09-14

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.