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
initializers for table of constants

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



Joined: 23 Feb 2006
Posts: 688

Posted: 20 July 2006, 2:37 AM    Post subject: initializers for table of constants Reply with quote

I thought I recalled that ZBasic had a means to initialize a table of constants (such as longs). Maybe I'm mistaken. Can't find it in the docs.
Back to top
dkinzer
Site Admin


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

Posted: 20 July 2006, 3:20 AM    Post subject: Reply with quote

It does. See the section on Program Memory Data Items in the ZBasic Language Reference. The data may be a vector (1-dimensional array) or a table (2-dimensional array) and the initialization data may either be in-line or in a separate file.
Back to top
stevech



Joined: 23 Feb 2006
Posts: 688

Posted: 20 July 2006, 6:41 AM    Post subject: Reply with quote

ah. I did a PDF file search using "initializers" and so on. Didn't turn up.
I do kinda miss the Microsoft Help File indexing and searching in the reference docs.
Back to top
mikep



Joined: 24 Sep 2005
Posts: 771
Location: Austin, TX

Posted: 20 July 2006, 16:00 PM    Post subject: Reply with quote

You need section 2.10 of the manual. Here it is online: http://www.zbasic.net/doc/ZBasicRef/ZBasicRef41.html
Back to top
stevech



Joined: 23 Feb 2006
Posts: 688

Posted: 20 July 2006, 17:26 PM    Post subject: Reply with quote

thanks.
I also need to spend more time looking in the docs before posting here!
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