Re: [F-Script-talk] FSInterpreterView execute
Brought to you by:
pmougin
From: Peter A P. <p.a...@su...> - 2008-06-23 15:49:49
|
Hi All, I just realized my code suggestion in the last post about single word commands won't work well for F-Script, as the object browser and other F-Script components are using the -description method of objects to query their name or class. This causes the object to execute itself every time I open a brower. Back to the drawing board... I'll dig into the F-Script framework to see how Philippe is using objects and see if I can figure out a way to do this. This may be too much of an ask within the bounds of the F-Script system though. What I was going for was something along the lines of an object that self executes, like a Block that doesn't require the -value method to execute, but this probably breaks the style metaphor of F-Script. What I will probably do is just have an object in the interpreter named "COM" that has as its methods all the relevant system commands for my app, i.e. for a new document: "COM newDoc". Philippe, am I correct in thinking that their are no one word commands (other than object descriptions) in F-Script? Peter Passaro Research Officer Dept of Informatics/Dept of Biology Pevensey III University of Sussex Falmer, Brighton BN1 9QH, UK Office + 44 (0)1273 877590 P.A...@su... |