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
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, 7th_zorro, VoroneTZ, Quad), 901 guests, and 0 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
add string to DEBUG_VAR please #334806
07/25/10 11:09
07/25/10 11:09
Joined: Dec 2006
Posts: 434
UK,Terra, SolarSystem, Milky W...
pararealist Offline OP
Senior Member
pararealist  Offline OP
Senior Member

Joined: Dec 2006
Posts: 434
UK,Terra, SolarSystem, Milky W...
It would be nice if DEBUG_VAR had a STRING* param too.
e.g DEBUG_VAR("move_dist", move_dist, 300);


A8.3x Commercial, AcknexWrapper and VS 2010 Express
○pararealist now.
Re: add string to DEBUG_VAR please [Re: pararealist] #334985
07/26/10 08:39
07/26/10 08:39
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
#define DEBUG_VAR2(name,vv,pos_y) draw_text(str_printf(NULL,"%s: %.3f",_chr(name),(double)vv),10,pos_y,COLOR_RED)

Not tested, but try it - at least this is the general idea.

Re: add string to DEBUG_VAR please [Re: jcl] #334993
07/26/10 09:33
07/26/10 09:33
Joined: Dec 2006
Posts: 434
UK,Terra, SolarSystem, Milky W...
pararealist Offline OP
Senior Member
pararealist  Offline OP
Senior Member

Joined: Dec 2006
Posts: 434
UK,Terra, SolarSystem, Milky W...
OK, i will.

EDIT Tested
Works fine. Thanks.

Last edited by pararealist; 07/26/10 09:36.

A8.3x Commercial, AcknexWrapper and VS 2010 Express
○pararealist now.

Moderated by  aztec, Spirit 

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