Hi Ingo: * Ingo Hohmann <[EMAIL PROTECTED]> [020921 13:34]: <....> > As far as I know you're right. A few additions, though ... > > my-obj: make object![ ; untested code > str: make string! 8192 > set 'my-f func[][ > clear str > ; appends much data to string... > ] ; end function > ] ;end object I actually am using strategies like this, but it is nice having a supporting second opinion.... Thanks Ingo! -tj-
> this way you can just use 'my-f, without having to think about the > object! (no my-object/my-f needed). > > _or_ you could use > > my-f: func[/local str][ > str: "" > clear str > ; appends much data to string... > ] ; end function > > 'str being a literal string, it will be retained over function > invocation. Of course the first usage of the func might be slow, because > 'str would have to slowly grow, while being appended to. > > _or_ you use the ideas someone else woll surely come up with. > > > Kind regards, > > Ingo > > > > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. -- Tim Johnson <[EMAIL PROTECTED]> http://www.alaska-internet-solutions.com http://www.johnsons-web.com -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.