全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Gauss专版
3404 3
2011-02-08
请教版主和各位,好像以前"#include"是可以用的,不知从什么时候起一用就说Syntax error ,这个是怎么回事啊?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2011-2-24 00:07:58
你看看是不是#include   之后多了一些空格, delete 掉就行了
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2011-3-9 20:13:39
1# iooo
你的问题解决了吗?
我也遇到这样的问题了,不知道该怎么解决。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2015-1-19 20:33:21
The #include statement can only be run as part of a program. If you try to run an #include statement from the command-line or using "run selected text" (using F4 or the context menu) from an editor window, it will return a syntax error.

However, the two files that you mention are part of the standard GAUSS library. So you should not have to #include them in your file. Try commenting out those statements and see if your code still runs.

In the case where you do want to execute the equivalent of an #include from the GAUSS command window, you can use the 'run' command instead:

run myfile.ext
instead of

#include myfile.ext
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群