[futurebasic] [FB] [FB^3] String Length Runtime Checking

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2000 : Group Archive : Group : All Groups

From: "Steven J. Stratford" <sstratford@...>
Date: Thu, 18 May 2000 14:16:15 -0500
Is there runtime checking for valid string length? I noticed when I passed a
string with length 255 into a function and then tried to append a single
character to the string, no error occurred. Am I correct? There used to be
an FBII preference to enable runtime string length checking, but I don't see
one in FB^3? I'm using FB 3.2.0gm.

For example, this fn results in a string length of 64 (actually it's 320)
but no error at runtime:

dim a$
a$ = "aaaaaaaaaaaaaaaaaaaa"
print len(a$)