Hey,

  I'm not sure if I can post this here, but I seem to have hit a small
roadblock (but I don't know where it is). My main goal is to have an easily
accessible meter and feet converter. When I use FBide to compile and run,
it comes up with no errors. But when it runs, I put in "a" or "b" and then
it just quits (of course, after I press "enter"). Could anyone help me out?
Here's what my file looks like:


           dim ft as single, m as single, answer1 as single, answer2 as
single, input1 as string, a as string, b as string
           input "Convert (A) Feet to meters, or (B) Meters to feet? [NOTE-
Use lower case!] ", input1
           cls
           if input1 = a Then
              input "Feet amount: ", ft

              answer1 = ft * 3.2808399
              cls
              print ; ft; " feet is equal to "; answer1; " meters."
              sleep

           elseif input1 = b then
              input "Meter amount: ", m

              answer2 = m / 3.2808399
              cls
              print ; m; " meters is equal to "; answer2; " feet."
              sleep

           end if
           sleep
           end


Any ideas?

                            - A FreeDOS User
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to