Newbie needs help on code

pjuk

New member
Joined
Jun 16, 2007
Messages
1
Programming Experience
Beginner
Hello i am trying to learn programming and im currently doing a calculator tutorial on the net here is the page http://www.homeandlearn.co.uk/NET/nets1p19.html

The part in the tutorial near the bottom of the page which says

total1 = total1 + Val(txtDisplay.Text)

Does not seem to be working im getting squiggly lines under total1 = total1

Im using Microsoft visual basics 2005 express edition

Any help would be great as i really want to learn this stuff but currently stuck due to lack of knowledge

PJ
 
Did you declare the "total1" variable? See first code line in the tutorial.
 
Back
Top