Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by dr_panther. 05/18/24 11:01
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
2 registered members (7th_zorro, dr_panther), 724 guests, and 3 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
Page 2 of 2 1 2
Re: proc_kill - Functions with different parameters [Re: WretchedSid] #431719
10/22/13 21:22
10/22/13 21:22
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
Originally Posted By: JustSid
Yes, but no one ever said anything about the arguments... Except of Racksha, that is.


Ah.. I found the problem tongue

"For killing overloaded functions you'd need another proc_kill function that takes the number of the overloaded function as a parameter."

I read that as

" For killing overloaded functions you'd need another proc_kill function that takes the number of the overloaded function parameters."

Re: proc_kill - Functions with different parameters [Re: FBL] #431721
10/22/13 21:46
10/22/13 21:46
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline
Serious User
Rackscha  Offline
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
ahhhh...yes my bad^^"


MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development

Re: proc_kill - Functions with different parameters [Re: Rackscha] #431722
10/22/13 22:21
10/22/13 22:21
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
now the question is: how do we find out which number an overloaded function has.

also i'm not quite sure about the thing with one parameter, but different size. i remember a situation where this didn't work, but this could also be a side effect of the automatic type conversion


Visit my site: www.masterq32.de
Re: proc_kill - Functions with different parameters [Re: MasterQ32] #431723
10/22/13 22:31
10/22/13 22:31
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Well, if I'm not mistaken you had to count the occurences in the source code. Extremely dangerous to use and immediately breaks once you introduce a new overloaded function.


Always learn from history, to be sure you make the same mistakes again...
Re: proc_kill - Functions with different parameters [Re: FBL] #431726
10/23/13 07:35
10/23/13 07:35
Joined: Jul 2013
Posts: 158
F
Feindbild Offline
Member
Feindbild  Offline
Member
F

Joined: Jul 2013
Posts: 158
Originally Posted By: Firoball
Originally Posted By: JustSid
Yes, but no one ever said anything about the arguments... Except of Racksha, that is.


Ah.. I found the problem tongue


Damn, I made exactly the same mistake and didn't understand why Uhrwerk didn't get what I was saying grin

Last edited by Feindbild; 10/23/13 07:37.
Page 2 of 2 1 2

Moderated by  jcl, Nems, Spirit, Tobias 

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