Go to Page... |
Compatibility: | Harrowstorm (5.3.5) |
Updated: | 02/28/20 12:26 AM |
Created: | 08/13/14 02:42 PM |
Monthly downloads: | 174 |
Total downloads: | 11,760 |
Favorites: | 17 |
MD5: | |
Categories: | Chat Mods, Auction House & Vendors, TradeSkill Mods, Miscellaneous, Utility Mods |
Comment Options |
01/20/16, 10:49 AM | ||
|
Why don't you just make the UI behave like a real calculator by adding brackets and just showing whatever you enter, pressing = will then solve it, as long as the syntax was correct. Would be much more useful that way if you could just enter stuff like (x+y)*(z-w).
Edit: You also haven't defined LAM2 used on line 146, that throws an error. You need: Lua Code:
Another thing: Lua Code:
If your function is used to fill a value, like you do here Lua Code:
you need to return something, whatever you return is what "value" is set to. So it's not pointless Edit: Oh wait, value is defined localy for the whole file, but then you can just call the funtion and really don't need the return. Lua Code:
Lua Code:
Edit: And the last thing for now Why not remove the "Button" from all buttons and only leave the number or symbol? If you don't want them to be at the top of the button you can center them by adding
Code:
font="$(BOLD_FONT)|30|soft-shadow-thin"
Last edited by coolmodi : 01/20/16 at 11:26 AM.
|
|
|
coolmodi |
View Public Profile |
Send a private message to coolmodi |
Find More Posts by coolmodi |
Add coolmodi to Your Buddy List |
zeroIndex |
View Public Profile |
Send a private message to zeroIndex |
Find More Posts by zeroIndex |
Add zeroIndex to Your Buddy List |
08/14/14, 07:26 AM | |
Could you expand the description to mention what its limits are a bit more? Is it addition or is there multiplication, subtraction and division as well? Is there support for decimals?
|
|
|
DeanGrey |
View Public Profile |
Send a private message to DeanGrey |
Find More Posts by DeanGrey |
Add DeanGrey to Your Buddy List |