Gamestudio Links
Zorro Links
Newest Posts
No connection to MT4
by JeyKey II. 10/29/26 09:34
Zorro plugin for Hyperliquid.xyz
by opm. 10/28/26 13:50
Icon "OP"
by JeyKey II. 10/27/26 07:03
ZorroGPT
by TipmyPip. 10/26/26 08:09
Chat Room for Zorro Programmers
by Haitao_Ren. 10/25/26 03:14
Trading Journey
by Haitao_Ren. 10/25/26 03:14
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 7,839 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Haitao_Ren, JimSimons, julienp, julienper, KelleyAbbey
19247 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: 28,145
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,145
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 | 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