Expression parsing
Expression parsing
- Subject: Expression parsing
- From: "Theodore H. Smith" <email@hidden>
- Date: Sun, 18 Jul 2004 00:46:18 +0100
I want to parse simple expressions, mainly with the contstants pi and
phi in it. So I can enter things like "pi/3", or "phi+2", into some
text fields. Whats a good way to do this? I'm thinking of just parsing
it, but I'm wondering if theres a built in class for this kind of
thing?
Also, I'm wondering how to trap the action event. That is, I want my
NSTextField subclass, to tell an NSStepper that it's text has been
updated. The thing is, I'm already sending an action to a different
class on it's action. Is there a way to send an action to multiple
targets, via Interface builder, or does this sort of thing have to be
done via code?
--
Theodore H. Smith - Software Developer.
http://www.elfdata.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.