Re: [F-Script-talk] incomplete FSClass instance implementation
Brought to you by:
pmougin
From: Andrew W. <wei...@wi...> - 2007-12-22 22:26:25
|
FSClass definitely does not work properly on Leopard. I haven't had a chance to investigate it in detail, but I hope to have a Leopard-compatible, 64-bit version released by the end of January. Andrew Weinrich ----- Original Message ----- From: Ken Ferry <ken...@gm...> Date: Saturday, December 22, 2007 12:27 pm Subject: Re: [F-Script-talk] incomplete FSClass instance implementation To: Discussions about F-Script and related subjects <f-s...@li...> > Hey Kimon, > > Looking at the FSClass source, it might be a problem running on Leopard. > > The +[FSClass newClass:] method returns a proxy object that can handle > an addProperty: message. The -class method on that proxy is > implemented to return the un-proxied class. > > Something about Leopard may be causing that -class method to be > invoked where it wasn't before, because I can make things work a bit > better by removing the implementation of -class on FSClass. > > This works with the class method removed: > > > Circ := FSClass newClass:'Circle' > > > Circ addProperty:'radius' > > > c := Circ alloc init > > > c setRadius:5 > nil > > > c radius > 5 > > Dealing directly with the [Circle class] object still doesn't work for > me. From the source, I'm not sure it's expected to.. > > -Ken > > On Dec 21, 2007 3:11 PM, Kimon Tsinteris <ki...@ma...> wrote: > > Hi, > > > > I seem to be having some issues using FScript & FSClass. I'm currently > > at version 1.3.5 & 2.1 respectively running under 10.5.1. When I > > executed the following example code: > > > > > Circle := FSClass newClass:'Circle'. > > > Circle addProperty:'radius'. > > > > I receive: > > > > error: an instance of Circle does not respond to "addProperty:" > > > > Indeed when browsing my Circle FSClass under the object browser, the > > FSClass instance selectors do not appear to be present. Does FSClass > > require FScript 2.0 or is there something else I might be missing? > > > > Thanks, > > Kimon > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > |