|
-
Oct 22nd, 2001, 10:18 AM
#1
Thread Starter
Frenzied Member
I need help making a simple algorythm to load an expression like 100/5+(10+(2*4))
Hi, I'm working on a scripting language (in VB) and it worked fine until I tried to add expressions (like 100/5+(10+(2*4)) )
Can anyone help me with this? My idea would be to seperate it into "steps", and then execute them backwards, like this:
(1+3)-((4+5)-6)
would become
Code:
( + )-( - )
1 3 ( + ) 6
4 5
Does anyone have any idea? Fox, Keda, any of the other gurus around?...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|