mql4语法疑问
mql4官网介绍语法时,是和c来比较的,它有以下特性:[*]no address arithmetic;
[*]no operator do ... while;
[*]no operator goto ...;
[*]no operation of ?:;
[*]no compound data types (structures);
[*]complex assignments are impossible; for example, val1=val2=0; arr=val; cond=(cnt=OrdersTotal)>0; etc.;
[*]calculation of a logical expression is always completed, never early terminated.
前面几条都很能理解,毕竟是简化的C嘛。 但最后一条我就很疑惑了,逻辑表达式它居然要去完整计算,
而没有提前中断的方式。这会影响语言效率的啊。难道还是说是故意这样搞的,有什么特殊目的吗?
不会是mql4作者因为设计语言时不想麻烦就没搞early terminated?
哪位兄弟知道的 麻烦科普下 谢谢?
不错,支持下 天啊. shit 支持一下 不看白不看,看也不白看 对不起,我走错地方了,呵呵 不错不错,我喜欢看 操盘做单还是要靠自己 呵呵 大家好奇嘛 来观看下~~~~
页:
[1]
2