Having trouble with 'unit'
Author |
Message |
MattyGG
|
Posted: 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? |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Cervantes
![](http://compsci.ca/v3/uploads/user_avatars/1023105758475ab2e040bde.jpg)
|
Posted: 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. |
|
|
|
|
![](images/spacer.gif) |
|
|