aldweb

Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail

Special !



Mobile version of
the aldweb Site

m.aldweb.com


Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]
Search




Weather / Spam / www

Lyon Weather


aldweb against spam


Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
298 Subscribers
Family's web sites

Webmaster - Infos
Friends News
Visits

   visitors

   visitors online

Poll
What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
forum.gifForum - iziBasic - Topic #1004

Forum - Forum
iziBasic - iziBasic


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257

active  Topic # 1004  63 character string limits

06/12/2004 @ 18:32
by Mike Featherstone

Anonymous



Where does the 63 character string limit come from? (I see it's on the 'roadmap' for iziBasic 4)

AsI'm currently using a T5 with its 'new' memory layout, this becomes an 'issue' as each 63 byte record takes up 512 bytes of storage space - a 12.3% memory utilisation rate!
Write to Mike Featherstone   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1
--------
07/12/2004 @ 21:46
by aldweb

Anonymous

visitor
All string variables, A$­­-Z$­­ and A$­­(n), are limited to 63 characters in iziBasic (just like in many other compilers/interpreters, it is almost a 'standard').
Currently, all files accesses are running with such variables. So, this is where the limit comes from.

@+
aldweb
Write to aldweb   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 2
--------
07/12/2004 @ 21:53
by aldweb

Anonymous

visitor
Sorry, Mike, I only answered half of your question!

I don't have the chance to own a T5, so I cannot check my sayings... but I am pretty sure of them.

From what I understood so far, even if the T5 reserves 512 bytes for each record, if you saved a record of 63 bytes long, when you retrieve the first 63 bytes, you will get them as they are the significative ones. Indeed, all bytes after the 63rd are filled with 'garbadge' or 'fake' characters.
So, you should not see any difference, except that your memory available decreases much faster on the T5 than on any other Palm device, but this is common to all software running on the T5.


@+
aldweb
Write to aldweb   Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 



 
^ Top ^