[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Two -getX()'s?
From: |
Marcus G. Daniels |
Subject: |
Re: Two -getX()'s? |
Date: |
03 Sep 1999 16:00:46 -0700 |
User-agent: |
Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4 |
>>>>> "D3" == donalson <address@hidden> writes:
D3> I have an object "mussel"
D3> (the animals that grow in the intertidal zone) that has two
D3> procedures, - (double) getX() and - (double) getY that return the
D3> X and Y coordinates of the individual. (I am implementing a
D3> continuous space model.) The problem is that the compiler/linker
D3> seems to be getting then confused with -(int) getX() and - (int)
D3> getY() from gui.h. Shouldn't it be able to differentiate between
D3> procedures from different objects?
Unlike Java, in Objective C a method is characterized only by its name.
The number of arguments is recorded by colon placeholders in the name,
but there is no typing information.
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
- Two -getX()'s?, donalson, 1999/09/03
- Re: Two -getX()'s?,
Marcus G. Daniels <=
- Re: Two -getX()'s?, Ken Cline, 1999/09/03
- Re: Two -getX()'s?, donalson, 1999/09/03
- 2nd Problem Installing Swarm2.0 in LinuxPPC R5, Darren Schreiber, 1999/09/05
- Re: 2nd Problem Installing Swarm2.0 in LinuxPPC R5, Marcus G. Daniels, 1999/09/05
- 3rd Problem Installing Swarm2.0 in LinuxPPC R5, Darren Schreiber, 1999/09/05
- Re: 3rd Problem Installing Swarm2.0 in LinuxPPC R5, Marcus G. Daniels, 1999/09/05