Does actual ISTRING size matter, somehow? For instance, should I take to make istring length in powers of 2? For instance,, in editor.eba I see the declaration:
def buffer[32766]:ISTRING
I've also seen (can't remember where) something like:
def buffer[32766-257]:ISTRING
That got me thinking there might be some coding trick I should know about. ::)
The default limit to the amount of text a user can enter in an edit control is 32 KB, which is why the editor.iba sample used that value.
Other than that the size is up to you. If you're defining the variable in a subroutine you are limited to the stack size, which can be changed in the advanced area of the project dialog.
Paul.