Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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