You don't need extra code, you can modify the code as the following for simplicity. Private Sub cmdDollar_Click() 'Declaring the value's Dim Dollar As Double Dim Euro As Double 'Reading the screen Dollar = txtDollar.Text 'Calculate Euro = Dollar * 0.788705734 'Write to screen txtEuro.Text = Euro End Sub
@AndyBCankaya Ofcourse! That's exactly what is happening without my other steps! But I've used the longer extra code to show that you can store and move the information in the variables to other variables and play around with them. In other longer and complicated scripts where you have to use diffrent value's for different variables the short example you have used wouldn't work. But you're right! In this program your version of the code would be better, but to learn the language I do prefer mine
you are a very good teacher. Thank you
wirgiukass 3 months ago
great tutorial. keep going on ;)
freakie03 4 months ago
best tut ever
Mr13X13 8 months ago
dude zo een lelijke nederlandse accent
sohrabje 10 months ago
When I try to do
Dim DollarS As string
Dim Dollar As double I get a error that it is an unused variable. How do I fix this error?
zulemars 1 year ago
AndyBCankaya 1 year ago
@AndyBCankaya Ofcourse! That's exactly what is happening without my other steps! But I've used the longer extra code to show that you can store and move the information in the variables to other variables and play around with them. In other longer and complicated scripts where you have to use diffrent value's for different variables the short example you have used wouldn't work. But you're right! In this program your version of the code would be better, but to learn the language I do prefer mine
TeachMeUp 1 year ago
This video is much better than the first one tbh, keep it up!!
muziekiskoewl 1 year ago