swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Type Casting


From: Doug Donalson
Subject: Re: Type Casting
Date: Fri, 29 May 1998 09:19:34 -0700


Marcus G. Daniels wrote:

> >>>>> "D3" == Doug Donalson <address@hidden> writes:
>
> D3> but it doesn't, it outputs "got 1".
>
> Huh, what operating system is this?

Good question, the obvious answer is Win95.  On the other hand, it is
Cygnusoperating under a dos shell.  My guess is that there is a macro
hanging about
in there somewhere.

>
>
> D3> gets a message that String doesn't recognize appendC:
>
> Use catC:; appendC: isn't in the collections protocol defintion.

Then you should remove it from the documentation.  :-)

(From Swarm docs 1.0.5)

Name

String -- character string object

(.. This type will be more fully documented when it is generalized beyond
its current status as nothing
more than an object wrapper for a null-terminated character array.)



Synopsis

//
// String -- character string object
//
@deftype String <Create, Drop, Copy, CREATABLE>
CREATING
+               create: aZone setC: (const char *)cstring;
SETTING
- (void)        setC: (const char *)cstring;
USING
- (const char *)getC;
- (void)        appendC: (const char *)cstring;

- (int)         getCount;
- (int)         compare: aString;
@end

Cheers,

   D3

>
>
>                   ==================================
>    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.
>                   ==================================




                  ==================================
   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.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]