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 #1049

Forum - Forum
iziBasic - iziBasic


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

active  Topic # 1049  Variabel names?

12/01/2005 @ 14:24
by Peter Thorstenson

Anonymous



Salut Aldweb!

I don't think I understand what variabels I can use. A to Z I understand, but then? Do I have to use variablenames like A$­­(26) or what?
Is there no way of giving the variables real names--instead of "A$­­" write "inFile$­­"? It would make the code more readable. =p

What does this mean?
"You will have to leave some space in the upper stack for all other text assignments."
Can I use n>26 and n<=198? Or only a part of it? How big part?

I studied French for some years when I was young, but now I can't remember a word. I guess the Portuguese wiped it out. Sorry for that. :)

Cheers from a rainy Rio de Janeiro
/Peter
Write to Peter Thorstenson   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
--------
12/01/2005 @ 16:58
by Mike

Anonymous

visitor
In response to the above:

1. The basic variables are:

a - z for numbers
a$­­ - z$­­ for strings

as you know, thereafter you will need to use

a(27) to a(250) for numbers and
a$­­(27) to a$­­(198) for strings.

(as a(1) is the same as a, a(2) is the same as (b) etc)


2. Variable names as described are not possible in iziBasic as far as I know (but they would make life easier ).


3. As for the meaning of the text in the manual, if you look in the 'Compiler Errors' section you will find that iB uses 5 records on the Number Stack and 2 records on the text stack for itself leaving us 250 number records and 198 text records.

That's how I read it anyway.
Write to Mike   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
--------
12/01/2005 @ 17:48
by Peter Thorstenson

Anonymous

visitor
OK, Mike. Thanks for clarifying that.

Still raining...
/Peter
Write to Peter Thorstenson   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 3
--------
12/01/2005 @ 17:49
by aldweb

Anonymous

visitor
Just a few words on top of Mike's excellent answer.

Can I use n>26 and n<=198? Or only a part of it? How big part?
The requested amount of free space will vary with your source code, and it will especially increase if you use the {PARSER ON} compiling directive, and then it will depend of the complexity of your mathematical operations. So, there is no real way to know it for now. I could make iziBasic track the information as compilation goes on and return it at the end, for information. Then, I guess that I will add this thing in my to do list.

Cheers from sunny Paris


@+
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° 4
--------
12/01/2005 @ 18:01
by Mike

Anonymous

visitor
Ah - I hadn't thought through the impact of the PARSER directive etc.

For what it's worth, gathering the data during compilation and reporting at the end iin the iziBasic window would be a useful enhancement in my view.

A message such as Text Stack 135/200 would be great.
Write to Mike   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 ^