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
Internal error: variable.cpp

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



Joined: 02 Dec 2005
Posts: 220

Posted: 13 August 2008, 5:54 AM    Post subject: Internal error: variable.cpp Reply with quote

An odd occurrence which might be of interest:
In a section of code in another module, I declared a constant with a *variable* in its argument, which was only set a few lines later.
Somehow, the code compiled when a few types of specific commands (such as sleep 0.0) were in Main(). This shouldn't have compiled in the first place.
Removing these seemingly unrelated commands caused the following error:

Internal error: variable.cpp(9833), Rev 1203: missing constant value, "...

So, somehow the compiler got it right in a few cases, and in the other instances those constants were presumably set to some unknown (or random) value.
Back to top
dkinzer
Site Admin


Joined: 03 Sep 2005
Posts: 2493
Location: Portland, OR

Posted: 13 August 2008, 15:13 PM    Post subject: Re: Internal error: variable.cpp Reply with quote

pjc30943 wrote:
This shouldn't have compiled in the first place.
Assuming that I understood your description (a small test case that demonstrates the issue is the best way to unequivocally describe a problem), you are correct. We were able to replicate the problem and have resolved it.

Thanks.
Back to top
pjc30943



Joined: 02 Dec 2005
Posts: 220

Posted: 13 August 2008, 17:36 PM    Post subject: Reply with quote

Okay.
[I didn't give a test case: several things were altered to correct the error, and I was unable to backtrack successfully to reproduce it later in the day when posting.]
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