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

Neither French, nor English?

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

Weather / Spam / www

Lyon Weather

aldweb against spam

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

Webmaster - Infos
Friends News


   visitors online

What do you think of the new design of the aldweb Site?
Great !
So ugly...
forum.gifForum - iziBasic - Topic #1219

Forum - Forum
iziBasic - iziBasic

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

active  Topic # 1219  text input to equation

24/06/2005 @ 17:41
by nard


First of all, Hi. Great little program! My question, hopefully, is simple ( haven't done much programming in many years). If I hard code the equation "y=x^2" my little graphing program works. Is there an easy way to input this from a text field? I would like to change "x^2" to "x^3" or
"sin(x)" etc., without recoding the
program each time.
Write to nard   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
24/06/2005 @ 23:01
by aldweb


Yes, this can be done.
BUT, it will require you to code a complete math parser in your application which will have to interprete the equation written in a text variable on the fly.
This is, from my point of view, a very challenging so a very interesting work to achieve

And, you are the lucky one! Indeed, in the next release of iziBasic, there will be a new sample program which does include such a math parser

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 ^