|
-
Senior Member
oh man that code is insanely atrocious. That whole thing could be rewritten in 20 lines, including imports and placement of all the buttons. Part of the point of programming is to not have to repeat the same task over and over...
Also, computers are natural calculators; just take the string and evaluate it, you don't need a separate function for every operator. And a for/next loop would work nicely to do the redundant stuff...
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
|