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°1592

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° 1592  Numfield

le 29/10/2007 @ 20:48
par Nate Weil(New Message someone

Anonyme



I got yet another problem...

I decided to make a little program for rolling dice. I want the user to be able to roll as many dice as his-her game needs, so I decided to try using a numfield for the first time. I got a numfield going, I used the FIELD$ function to get the number from it, but then it's text not a number. How do I fix it?

Here's a listing clip

[numfield setup]

%P3$=FIELD$(#2)

This works, but it's in text form. Using %P3% returns a syntax error.
Can someone help?
  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 29/10/2007 @ 22:07
par aldweb

Anonyme

visiteur
Hello Nate,

%P3$=FIELD$(#2) : %P3%=VAL(%P3$)


Cheers,
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° 2
--------
le 29/10/2007 @ 22:16
par Nate Weil

Anonyme

visiteur
Ok thanks :)

just making sure I understand what's going on...

[text variable]=VAL(converts it to a number?)([Number variable])
Right?
  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 29/10/2007 @ 22:49
par aldweb

Anonyme

visiteur
Hello Nate,

I do not understand your coding, but VAL(), as stated in the user manual, takes a string in parameter and returns a number.

Cheers,
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 29/10/2007 @ 23:00
par Nate Weil

Anonyme

visiteur
Ok well anyhow that works thanks a million :)
  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 ^