Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, exile, Ayumi), 836 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
set vs. setf #479973
05/10/20 20:12
05/10/20 20:12
Joined: Feb 2016
Posts: 15
Milan, Italy
F
fsgi Offline OP
Newbie
fsgi  Offline OP
Newbie
F

Joined: Feb 2016
Posts: 15
Milan, Italy
Dear people,

Can anybody explain me whether it will be possible in future Zorro versions to clean up a bit the syntax? For instance: why do we need to set some Variables with
Code
set
and others with
Code
setf
? I know that the second is a macro, but this is probably just a convenience for the language coders... wouldn't it be possible to improve the underlying implementation for sake of cleanlyness?

Thank you in advance and sorry if this question sounds dumb.

Re: set vs. setf [Re: fsgi] #479981
05/11/20 08:58
05/11/20 08:58
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
No, unfortunately not. set and setf must be different. set() is for global flags, while setf() works on a particular variable.

Re: set vs. setf [Re: fsgi] #479991
05/11/20 16:46
05/11/20 16:46
Joined: Feb 2016
Posts: 15
Milan, Italy
F
fsgi Offline OP
Newbie
fsgi  Offline OP
Newbie
F

Joined: Feb 2016
Posts: 15
Milan, Italy
Thank you so much for the clear (even though sad) answer.


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