QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: Dimster on April 08, 2019, 11:37:30 am
-
I'm not sure how to work this Help feature. Selecting Math I get a box inviting a math equation but how do I actually provide that equation? I couldn't find anything on the wiki - i have tried to highlight the equation in my algorythm but so far not so good -
-
You just go and type it in. Its very simplistic.
-
I think part of the problem is that it is asking for an equation like: area = 2*pi*r
but what it really works on is a numeric expression with 0 variables like: 2*3.1415*6
and it doesn't do MOD or even tolerate a space, from my tests.
Still could be quite handy, thanks for heads up of this option, I hadn't noticed (or forgot it was there).
-
It should work with MOD, and spaces too. It’s basically a single line math evaluator like CONST uses, so any functionality you have in CONST, you should have in the MATH help pop up. ;)
-
It should work with MOD, and spaces too. It’s basically a single line math evaluator like CONST uses, so any functionality you have in CONST, you should have in the MATH help pop up. ;)
OK MOD does work IF! I don't put a space between it and last number.
As soon as I hit space, it evaluates.
-
Thank you all - I down loaded the new version 1.3 and playing with all the options. This was the first time trying that Math help. When I encountered the (OK) and the curser flashing under it, I thought the answer to the question "Give me a Math Equation" was OK. So I kept selecting OK and getting no where. Like being in the forest and can't find a tree. - I'm sure Cobalt is still laughing but hey, some things can get too dummied down for serious programmers.
-
I down loaded the new version 1.3 and playing with all the options. This was the first time trying that Math help.
Notice that it's not a new feature in v1.3. The math box has been around since 1.0 I think.
-
Thank you all - I down loaded the new version 1.3 and playing with all the options. This was the first time trying that Math help. When I encountered the (OK) and the curser flashing under it, I thought the answer to the question "Give me a Math Equation" was OK. So I kept selecting OK and getting no where. Like being in the forest and can't find a tree. - I'm sure Cobalt is still laughing but hey, some things can get too dummied down for serious programmers.
oh just a little :D
no not really, took me a few minutes the first time to realize just what to do. I think it could use a lighter colored box or a cursor to let you know.