Gamestudio Links
Zorro Links
Newest Posts
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
Data from CSV not parsed correctly
by jcl. 04/20/24 08:32
Zorro FIX plugin - Experimental
by jcl. 04/20/24 08:30
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (7th_zorro, Aku_Aku, 1 invisible), 579 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
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,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
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