| Author |
Message |
zbasicandy
Joined: 26 Jan 2006
|
|
Posted: 21 March 2006, 13:05 PM Post subject: Compiler "Sequence Errors" |
|
|
Problem: Compiler "Sequence Errors"
Conditions: Offline - no Z-40 target connected.
PC operating system: XP
ZBasic IDE Version: 1.0.4 ZBasic 1-1-4
Problem description:
There is one "Sub Main" and 7 other support modules I have been coding. When coding a subroutine in the "support modules", I check my code frequently by compiling the module/subroutine that I am working on.(Project/compile). Under certain error combinations, after fixing them, other errors show up which are totally unrelated to the subroutine I was coding. I know that the additional errors are false because I compile frequently. What I have to do is to choose the Main module "tab" then compile, then go back to the "support module/subroutine" tab and compile to remove the false error indications. This has always worked. By trying to fix and clear the "false" compile errors is futile.
Problem workaround: Compile frequently and always go back to the main/module and compile then the support module and compile.
Also, there is one strange thing that is happening when I am porting my Rabbit, Basic Stamp and Cubloc code to Zbasic. There is a horrendous code size reduction - this must be a good thing? |
|
| Back to top |
|
 |
dkinzer Site Admin
Joined: 03 Sep 2005
Location: Portland, OR
|
|
Posted: 21 March 2006, 16:36 PM Post subject: |
|
|
If you could provide an example that replicates the symptoms that would be most helpful. Are you using a project file or do you rely on #include to pull in the required additional files?
As a side note, I can imagine the symptoms the you describe being produced if one were to select Tools | Compile (ctrl-F7). This menu entry compiles only the currently selected file (as opposed to compiling the entire project). |
|
| Back to top |
|
 |
zbasicandy
Joined: 26 Jan 2006
|
|
Posted: 21 March 2006, 16:51 PM Post subject: compiler sequence errors |
|
|
I am using a project file.
I never use tools/compile.
As for code examples ... I will try but all my programs are very long and "customer specific" which cannot be released. |
|
| Back to top |
|
 |
|