Forum Index
HomeZBasic Home   Forum RulesForum Rules   Forum FAQForum FAQ   MemberlistMemberlist   UsergroupsUsergroups   RSS FeedRSS Feed
Site SearchSite Search   LinksLinks   DownloadDownload   Digests and SubscriptionsDigests and Subscriptions
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   RegisterRegister
Compiler "Sequence Errors"

 
Post new topic   Reply to topic    Forum Index -> ZBasic Language
Author Message
zbasicandy



Joined: 26 Jan 2006
Posts: 193

Posted: 21 March 2006, 13:05 PM    Post subject: Compiler "Sequence Errors" Reply with quote

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
Posts: 2493
Location: Portland, OR

Posted: 21 March 2006, 16:36 PM    Post subject: Reply with quote

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
Posts: 193

Posted: 21 March 2006, 16:51 PM    Post subject: compiler sequence errors Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> ZBasic Language Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1

 


All content Copyright © 2005-2012 Elba Corp. All Rights Reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group