[futurebasic] Re: [FB] Containers, handles & str# resources

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2001 : Group Archive : Group : All Groups

From: Bernie Wylde <bernie@...>
Date: Tue, 27 Nov 2001 11:02:13 +0000
j-: replied

>> I'd like to copy the contents of an external str# resource to a local
>> str#
>> resource. This isn't a problem until the text is > 255 chrs.
> 
> there is a problem in your statement. a str#, whether in an external or
> internal resource, is limited to 255 chars. if it's greater then it's
> not a str#.
> 
> if you want to manipulate >255 chars then either you should go the way
> of 'text' resources, or grow your own.
> 
> for keeping these once inside your app, you can use 'text' resources,
> containers, handlers, pointers, edit fields and small cardboard boxes.
> the best way comes down to your need.
> 
> no?

You know something?
You're right!
I wasn't aware of that.

As the ext str# rsrc has been created by someone else, I no longer need to
worry about the length.

Thanks j-:

Bernie