Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, Grant, Neb), 908 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
integer equal to 0.00098 #146490
08/07/07 19:51
08/07/07 19:51
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline OP
User
Ottawa  Offline OP
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Hi Guys

I’m having a problem with my integer variables.

I have defined
int p = 0;
int yourturn = 0;

in the code I have
one entity
where
p = 1;
yourturn = 1;

My panel indicates that
p= 0.00098
yourturn = 0.00098

What should I be testing to find out why this is happening?


Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C
Re: integer equal to 0.00098 [Re: Ottawa] #146491
08/07/07 20:03
08/07/07 20:03
Joined: Jan 2004
Posts: 2,013
The Netherlands
E
Excessus Offline
Expert
Excessus  Offline
Expert
E

Joined: Jan 2004
Posts: 2,013
The Netherlands
I think your panel expects another data type (probably var), so it interprets the data in the int as a var. You could try to copy the int to a var (myvar = p;) and then use that var in the panel.

Re: integer equal to 0.00098 [Re: Excessus] #146492
08/07/07 23:09
08/07/07 23:09
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline OP
User
Ottawa  Offline OP
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Hi Excessus !

I will try that.

Will give feedback soon.


Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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