View Single Post
  #2 (permalink)  
Old 11-22-2008, 06:21 AM
serjant's Avatar
serjant serjant is offline
Senior Member
 
Join Date: Jun 2008
Location: Ukraine,Zaporozhye
Posts: 486
Rep Power: 2
serjant is on a distinguished road
Send a message via ICQ to serjant Send a message via Skype™ to serjant
Default
The output variable was not initialized ,you didn't declare it at all.
instead of this
Code:
output.Str = "You chose model " + model + "TV with these features:" + "\n"
				+ "Remote control, timer, and stereo sound" + "\n"
				+ "Your price will be $1000.00" + "\n";
type this

Code:
outputStr = "You chose model " + model + "TV with these features:" + "\n"
				+ "Remote control, timer, and stereo sound" + "\n"
				+ "Your price will be $1000.00" + "\n";
Reply With Quote