Problems with FScriptMenuItem's console window

11 views
Skip to first unread message

ilja

unread,
Jan 15, 2010, 5:16:55 AM1/15/10
to F-Script
Hi,

I just started to play around with F-Script. I added the
FScriptMenuItem to one of my applications.

When I try to enter any of the examples for the "Creating Cocoa
Classes with F-Script" tutorial I receive errors in response.

For instance, when I enter:

>Buddy : NSObject {}

I get:

end of command expected , character 17

The same line of code is accepted without problems in the console
window of FScript.app. The same holds true for all the other code
examples from the "Creating Cocoa Classes with F-Script" tutorial.

I'm I missing something here?

Thanks,
Ilja

Philippe Mougin

unread,
Jan 15, 2010, 8:39:44 AM1/15/10
to f-sc...@googlegroups.com
Hi,

This problem can be caused by your application loading an old version of the F-Script framework sitting somewhere on your system, instead of the latest version with support for classes. In particular, you should double check that there isn't an old version of the framework (which is named "FScript.framework") in standard places such as ~/Library/Frameworks (where ~ stands for your home directory) or /Library/Frameworks.

To know for sure where the F-Script framework used by your application is actually sitting on your system, you can evaluate the following expression in F-Script:

NSBundle bundleForClass:FSSystem

-Philippe

> --
> You received this message because you are subscribed to the Google Groups "F-Script" group.
> To post to this group, send email to f-sc...@googlegroups.com.
> To unsubscribe from this group, send email to f-script+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/f-script?hl=en.
>
>

Ilja A. Iwas

unread,
Jan 18, 2010, 9:56:26 AM1/18/10
to f-sc...@googlegroups.com
Hi Philippe,

Thanks for the help. You were right. I found an FScript.framework from 2007 nicely rotting away in ~Library/Frameworks I had entirely forgotten about.

Regards,
Ilja

Ilja A. Iwas
il...@iwascoding.com
http://www.iwascoding.com

iwascoding GmbH
Weserstr 18, 10247 Berlin
HRB 97269 B Amtsgericht Berlin-Charlottenburg
Geschäftsführer: Paul Hecker, Ilja Iwas

Reply all
Reply to author
Forward
0 new messages