A question - or two
- Posted by jessedavis May 09, 2010
- 1285 views
- does info.e exist somewhere?
- I have been working with euphoria 4.0 for sometime now. I have been bothered by a nagging suspicion. It seems that when a program passes about 350 lines I start to have issues (?). As an example, a switch sequence where, for some reason, a case statement that has always worked now gives an error (case statement must be inside a switch block). Another example, reading a key value from a database. Key is a string sequence. Sometimes it works; sometimes I get an error message telling me that there are sequences inside the key or there are too few or many items to print. dump() shows key is correct - a sequence of ascii characters. If I use an sprintf("%s",db_record_key(rcd)) to, I suppose, recreate the string all is OK.
- Is there a limit to the size of a sequence (other than the obvious one). When sequences get very long (1 million integers - single atoms) I seem to run into machine level errors.
regards,
jd
[added formatting. mwl]