Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Limit of size of a character variable
Message
 
 
To
02/07/1998 16:33:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00113896
Message ID:
00113922
Views:
16
Gerry,

The only limit is memory. try this in the command window:

x = replicate( "a", 1024 )
x = x + x
? len(x)

rerun the last two lines over and over. At 8 meg my system with 64 meg phyical ram that's been running all day, (with OE and IE4 so I'm sure the swap file was already huge anyway *g*) started doing a lot of disk thrashing.

>I use an edit box and a memory variable to monitor incoming messages in my application. Is there a practical limit to the length of the sting in the character variable, and what happens if you exceed it ?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform