Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
M1 Oversampling
by 11honza11. 04/20/24 20:57
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (frutza, Quad, AndrewAMD), 385 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Last indicator called #484899
12/28/21 03:53
12/28/21 03:53
Joined: Dec 2012
Posts: 34
New York
K
kandlekid Offline OP
Newbie
kandlekid  Offline OP
Newbie
K

Joined: Dec 2012
Posts: 34
New York
Just a quick question, is there a field in struct GLOBALS that contains the last indicator called? I am doing some
coding using that structure (e.g. vPeak, vSlope, etc), and want to make sure that the fields were set with the
correct indicator (i.e. the last indicator to set those fields).

Cheers

Last edited by kandlekid; 12/28/21 04:01. Reason: add info
Re: Last indicator called [Re: kandlekid] #484902
12/28/21 14:11
12/28/21 14:11
Joined: Apr 2008
Posts: 585
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 585
Austria
I think not. You could do that by script, store the last indlicator name or function pointer in a variable.

Re: Last indicator called [Re: Petra] #484912
12/29/21 06:07
12/29/21 06:07
Joined: Dec 2012
Posts: 34
New York
K
kandlekid Offline OP
Newbie
kandlekid  Offline OP
Newbie
K

Joined: Dec 2012
Posts: 34
New York
Ok. Obviously I can just look at my script to see. But in general, one of the big problems with globals is "who set it?".
I would think that having a field that indicated the last function to possibly set a global would be a "no brainer". Anyway, jmho.


Moderated by  Petra 

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