Jump to content

My first Unit Convertor


dantay9
 Share

Recommended Posts

I know these have already been made, but I wanted to make one anyway. I haven't finished the help file or the options yet.

I am having trouble with the custom measurements tab. When I try two measurements that can't be converted, the correct msgbox is displayed, but when I try two measurements that can be converted after that, it doesn't work. That is the only problem. I would like help with that. Otherwise, comments are welcome.

Conversion_Center.zip

Edited by dantay9
Link to comment
Share on other sites

Looks good dude. From what I can see $result never gets a value assigned to it when you call the Convert_Custom function. When you return the $answer you're returning it to the calling function which is Convert_Custom not to $Result = Convert_Custom(GUICtrlRead($Input[$ActiveTab]), $CurText1, $CurText2). Hope that helps and again it looks good.

Link to comment
Share on other sites

No problem. The Convert_Custom function seems inefficient to me. Let's say I call convert_volume within the custom tab, the way it is now it calls every other conversion function first. See what I mean?

Oh yea the way you have it now, convert 32 F to Celsius :P

Edited by notta
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...