[Release] Calculator (v1.20.011) |
Author: |
Message: |
Spunky
Former Super Mod
Posts: 3658 Reputation: 61
36 / /
Joined: Aug 2006
|
RE: [Pre-Release] Calculator
quote: Originally posted by Shondoit
Instead of adding another command, use and empty /calc command to open the quickcalc...
so '/calc 8+5' will send '8+5=12' ()
and '/calc' will open the quickcalc...
Thats sounds like a good idea... Just check to see if there are any params sent or not Script is looking awesome so far
<Eljay> "Problems encountered: shit blew up"
|
|
09-30-2006 07:45 PM |
|
|
Andrew_H
Junior Member
Posts: 30
32 / / –
Joined: Aug 2006
|
RE: [Pre-Release] Calculator
Thats cool!
P.S. Off Topic: What version of messenger are you using? It dosn't look like mine.
|
|
09-30-2006 08:25 PM |
|
|
Spunky
Former Super Mod
Posts: 3658 Reputation: 61
36 / /
Joined: Aug 2006
|
RE: [Pre-Release] Calculator
quote: Originally posted by Andrew_H
P.S. Off Topic: What version of messenger are you using? It dosn't look like mine.
Looks like WLM with the Vista skin and a background set
<Eljay> "Problems encountered: shit blew up"
|
|
09-30-2006 08:31 PM |
|
|
davidpolitis
Full Member
Posts: 371 Reputation: 16
Joined: Aug 2006
|
RE: [Pre-Release] Calculator
Sorry to be off-topic, but wouldn't care to share your messenger skin or background in This Screenshot?
Also, by the way SpunkyLoveMuff your websites download for PSM+ is wrong, it links to another script.
This post was edited on 09-30-2006 at 09:33 PM by davidpolitis.
|
|
09-30-2006 09:24 PM |
|
|
Zahid™
Senior Member
Posts: 954 Reputation: 18
– / /
Joined: Nov 2005
|
RE: [Pre-Release] Calculator
quote: Originally posted by davidpolitis
Sorry to be off-topic, but wouldn't care to share your messenger skin in This Screenshot?
Its:
quote: Originally posted by SpunkyLoveMuff
WLM with the Vista skin and a background set
|
|
09-30-2006 09:32 PM |
|
|
vaccination
Veteran Member
Posts: 2513 Reputation: 43
32 / / –
Joined: Apr 2005
|
RE: [Pre-Release] Calculator
Yay great to see a pre-release, i love it <3
Can't wait for the final
Spleak is smart
This post was edited on 09-30-2006 at 11:39 PM by vaccination.
|
|
09-30-2006 11:33 PM |
|
|
phalanxii
Full Member
Posts: 146 Reputation: 5
32 / /
Joined: Aug 2006
Status: Away
|
RE: [Pre-Release] Calculator
Sweet pre-release! This (like all your other work) is very professional, Mattike!
In the QC, I can't quite use the letters (A-F) for hex, because the calculator doesn't parse them. Also, it might be better to convert expressions before making the calculations in other bases (so that 10+10 in binary = 100; maybe split modes to "input" and "output"). And degrees, radians and grads!
Again, super script!
This post was edited on 10-01-2006 at 11:57 PM by phalanxii.
|
|
10-01-2006 12:32 AM |
|
|
Matti
Elite Member
Script Developer and Helper
Posts: 1646 Reputation: 39
32 / /
Joined: Apr 2004
|
O.P. RE: [Pre-Release] Calculator
quote: Originally posted by Shondoit
Instead of adding another command, use and empty /calc command to open the quickcalc...
so '/calc 8+5' will send '8+5=12' ()
and '/calc' will open the quickcalc...
Hmm... never thought about that. That will indeed make things easier.
And maybe, I can make '/calc pref' to open the preferences and '/calc abt' to open the about window...
That way, I only have one command left.
quote: Originally posted by phalanxii
In the QC, I can't quite use the letters (A-F) for hex, because the calculator doesn't parse them.
I am aware of this. They were just meant to note that you will be able to use hexadecimal values, but not by simply typing them. I'll make the script to use special functions to let the user specify what mode should be used. For example, I'll make Hex(FF) to result in 255, so you can calculate with different modes. (e.g.: substracting hexadecimal numbers from binary numbers and returning the octal result)
quote: Originally posted by phalanxii
Also, it might be better to convert expressions before making the calculations in other bases (so that 10+10 in binary = 100; maybe split modes to "input" and "output").
See previous reply.
quote: Originally posted by phalanxii
And degrees, radians and grads!
Yes yes, I'll look for that.
quote: Originally posted by phalanxii
Sweet pre-release! This (like all your other work) is very professional, Mattike!
...
Again, super script!
Hehe, thanks!
This post was edited on 10-02-2006 at 05:09 PM by Matti.
|
|
10-02-2006 05:03 PM |
|
|
CookieRevised
Elite Member
Posts: 15517 Reputation: 173
– / /
Joined: Jul 2003
Status: Away
|
RE: RE: [Pre-Release] Calculator
quote: Originally posted by Mattike
quote: Originally posted by phalanxii
In the QC, I can't quite use the letters (A-F) for hex, because the calculator doesn't parse them.
I am aware of this. They were just meant to note that you will be able to use hexadecimal values, but not by simply typing them. I'll make the script to use special functions to let the user specify what mode should be used. For example, I'll make Hex(FF) to result in 255, so you can calculate with different modes. (e.g.: substracting hexadecimal numbers from binary numbers and returning the octal result)
do as JScript does (and other languages) add a prefix to the numbers instead of creating extra functions:
eg:
0x?? for binary numbers
or h01DF4B, o1472, b0110, etc
it is a lot easier/shorter to write:
/calc h01DF4B + h412F
than:
/calc Hex(01DF4B) + Hex(412F)
Also, using the function Hex() like Hex(FF) doesn't make sense when you compare it to how such functions work in other languages and stuff. Hex() is to convert something to a hex number, not vice versa. Just like Cos() is used to calculate the cosinus not to convert a cosinus to something else.
And then you could still use those extra functions, but to change the output to some base. which would be more logical IMHO. eg:
/calc Oct( h01DF4B + b110110)
This post was edited on 10-02-2006 at 05:58 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
|
|
10-02-2006 05:54 PM |
|
|
Matti
Elite Member
Script Developer and Helper
Posts: 1646 Reputation: 39
32 / /
Joined: Apr 2004
|
O.P. RE: [Pre-Release] Calculator
quote: Originally posted by CookieRevised
h01DF4B, o1472, b0110, etc
There you have a good point. I think I'll try these.
quote: Originally posted by CookieRevised
And then you could still use those extra functions, but to change the output to some base. which would be more logical IMHO. eg:
/calc Oct(h01DF4B + b110110)
Well, for changing the output I already have:
code: /calc oct 8+5
so I don't need them.
* Matti opens his project files...
EDIT: Yay! I made the modes working! hA now results in the decimal number 10, just as o12 and b1010.
Now, I'll have to make the negative numbers work... (e.g.: h-A)
This post was edited on 10-03-2006 at 05:03 PM by Matti.
|
|
10-03-2006 03:56 PM |
|
|
Pages: (5):
« First
«
1
2
3
[ 4 ]
5
»
Last »
|
|