Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 972 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
the c_ignore's parameters is integer in fact? #382012
09/03/11 11:05
09/03/11 11:05
Joined: Jan 2011
Posts: 122
GUILIN , CHINA
tzw Offline OP
Member
tzw  Offline OP
Member

Joined: Jan 2011
Posts: 122
GUILIN , CHINA
i use engine SDK vsiual studio cpp 2010, my codes like this:
c_ignore(_VAR(1),_VAR(0));
c_trace(XXXXXXX);
it didn't return a correct result.
but when i simplly use:
c_ignore(1,0);
c_trace(XXXXXXXX);
it's work fine.
so is the c_ignore parameters is integer in fact?


Full of my eyes are class struggles.....
Re: the c_ignore's parameters is integer in fact? [Re: tzw] #382146
09/05/11 08:00
09/05/11 08:00
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
No, it's var, but your first line didn't work because the group must be higher than 1 - this restriction will be removed in the next update, as I see no reason for it. Your second call worked only because some functions, including c_ignore, can automatically detect if they get var or int parameters.


Moderated by  old_bill, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1