aldweb

Fermer I. aldweb

Fermer II. Gratuitiels PC

Fermer III. Gratuitiels Palm

Fermer IV. Partagiciels Palm

Fermer V. iziBasic Palm

Fermer VI. Connaissance Palm

Fermer VII. Ordinateur Poche

Fermer VIII. miniPortail

Spécial !



Version mobile
de l'aldweb Site

m.aldweb.com


Ni Français, ni Anglais ?

Essayez donc l'un de ces drapeaux :
[de] [es] [it] [pt]
Recherche




Météo / Spam / www

Météo Lyon


aldweb contre le SPAM


Newsletter
Pour avoir des nouvelles de ce site, inscrivez-vous à notre Newsletter.
S'abonner
Se désabonner
298 Abonnés
Sites web de la famille

Webmaster - Infos
News Amis
Visites

   visiteurs

   visiteurs en ligne

Sondage
Comment trouve-tu le nouvel habillage de l'aldweb Site ?
 
Superbe !
Joli
Moyen
Moche...
Résultats
forum.gifForum - iziBasic - Sujet n°1049

Forum - Forum
iziBasic - iziBasic


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

actif  Sujet n° 1049  Variabel names?

le 12/01/2005 @ 14:24
par Peter Thorstenson

Anonyme



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
Ecrire à Peter Thorstenson   Poster une réponse  Haut

[]   


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 1
--------
le 12/01/2005 @ 16:58
par Mike

Anonyme

visiteur
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.
Ecrire à Mike   Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 2
--------
le 12/01/2005 @ 17:48
par Peter Thorstenson

Anonyme

visiteur
OK, Mike. Thanks for clarifying that.

Still raining...
/Peter
Ecrire à Peter Thorstenson   Poster une réponse  Haut

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

Anonyme

visiteur
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
Ecrire à aldweb   Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 4
--------
le 12/01/2005 @ 18:01
par Mike

Anonyme

visiteur
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.
Ecrire à Mike   Poster une réponse  Haut
actif sujet actif   clos sujet clos   Important! Important!   Nouveau Nouveau message   -   Rectifier Rectifier message   Clôturer Clôturer sujet   Remonter Remonter
[]
Catégories de discussion  Forum 



 
^ Haut ^