Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Need help in my application (Varible has no values)
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Rembokz




PostPosted: Sun Jan 15, 2012 2:40 pm   Post subject: Need help in my application (Varible has no values)

What is the problem you are having?
I get a variable has no values error


Describe what you have tried to solve this problem
Tried making loops but nada, if anyone can fix this or tell me the solution, please do!

if tickets = 2 then <--- that's where my error comes.


Please specify what version of Turing you are using
Turing 4.1.1



Cineplex Movie App Complete Day 2.t
 Description:

Download
 Filename:  Cineplex Movie App Complete Day 2.t
 Filesize:  8.53 KB
 Downloaded:  102 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Aange10




PostPosted: Sun Jan 15, 2012 2:57 pm   Post subject: RE:Need help in my application (Varible has no values)

Just read the error. "Variable has no value".


It means that the variable has no value.


How do we fix it? Assign the variable a value.
Rembokz




PostPosted: Sun Jan 15, 2012 3:04 pm   Post subject: Re: RE:Need help in my application (Varible has no values)

Aange10 @ Sun Jan 15, 2012 2:57 pm wrote:
Just read the error. "Variable has no value".


It means that the variable has no value.


How do we fix it? Assign the variable a value.

I try that.
Aange10




PostPosted: Sun Jan 15, 2012 3:08 pm   Post subject: RE:Need help in my application (Varible has no values)

That fixes it. Try it again.

It should look like

Turing:

    tickets := 0


after you declare it.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: