Geeky Posted November 24, 2005 Share Posted November 24, 2005 I've made a small and simple calculator, for calculating circles. But then i want it to send the results its ends up in one big number $radius = inputbox( "Circle's Radius", "Type the circle you want to calculate's RADIUS in cm(Centimetres) here:", "", "", 150, 150) $diameter = $radius + $radius $Area = $radius * $radius * 3.14 $Perimeter = $diameter * 3.14 $Calculations = ($diameter & $area & $perimeter) MsgBox ( 0, "Calculations", $calculations) How do i put one result on each line? MsgBox Diameter: 3476 Area: 2937 Perimeter: 3872 OK Link to comment Share on other sites More sharing options...
Zithen Posted November 24, 2005 Share Posted November 24, 2005 $Calculations = ($diameter & @CR & $area & @CR & $perimeter) the @CR will do a new line Link to comment Share on other sites More sharing options...
Geeky Posted November 24, 2005 Author Share Posted November 24, 2005 Thx, couldn't find anything about it in the help file Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now