kierenj / 0x10c-DevKit

0x10c DevKit
http://0x10c-devkit.com/
39 stars 4 forks source link

Documentation : How do multiple files work together in a project? #120

Closed booyaa closed 12 years ago

booyaa commented 12 years ago

When ever I add a new file to a project I can never get it to run. Only first file/code created in the project seems to run.

kierenj commented 12 years ago

Hi, that's odd :) They should all be compiled as if they were concatenated into one big file (kind of). If you have labels, macros in other files you can refer to them, and if you have code in two files, so long as the code would flow from one to the next (no stop/loop at the end of one), execution will run into the next. If you like, I can take a look at a simple example problem you're having and advise.

booyaa commented 12 years ago

ah so that's how it works! sorry misunderstood it's use!