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

Username:   Password: 
 RegisterRegister   
 Having trouble with 'unit'
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
MattyGG




PostPosted: Wed Nov 24, 2004 2:29 pm   Post subject: Having trouble with 'unit'

Uh...i keep coming across programs that use unit...but every time that i try to run them an error comes up saying "Cannot have unit as main program" Does anyone know what the problem might be?
Sponsor
Sponsor
Sponsor
sponsor
Cervantes




PostPosted: Wed Nov 24, 2004 3:40 pm   Post subject: (No subject)

Are you trying to run your unit? ie. by hitting F1. If so, you shouldn't be. Instead, what you do it save it as a .tu and import it into your main program, which you can run using F1.
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  [ 2 Posts ]
Jump to:   


Style:  
Search: