Jump to content

Recommended Posts

Posted (edited)

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
Posted

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.

Posted (edited)

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
Posted

I changed how the functions are called. They are now called from an ini file. I need help with making the temperature functions into a single line for the ini file.

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
×
×
  • Create New...