In a message dated 7/9/99 2:28:47 AM, [EMAIL PROTECTED] writes: >> so, how would you do it? "CopyTextStyles from <source> to <dest>" is >>certainly procedual programming. Show me some OOP, please? > >Are we adding OOP to xTalk? > >Cool. My opinion on the matter is, xTalk is supposed to be as simple and intuitive as possible. Sometimes that means using OO: a new button part sometimes that means using procedures: insert a new button part into myWindow It's really a matter of balance. In Serf, TextFont is implemented as a function that accepts a chunk of a field (like word 1 of fld 1) and returns a dynamic container which traps its own get-and-set messages; placing a word like Geneva into it triggers another chain of messages leading to the actual field. So when you Set the TextFont of fld 1's word 1, it looks like procedural programming but is actually a long string of OO primitives. Put geneva into word 1 of my title add 20 to the top of me delete 43rd to last line of superglobal Dan
