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
A living wish list for ZBasic

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



Joined: 23 Feb 2006
Posts: 657

Posted: 11 March 2006, 23:00 PM    Post subject: A living wish list for ZBasic Reply with quote

In priority order:

1. Ability to load programs via WiFi-to-serial and Ethernet-to-serial converters such as Lantronix WiPort and XPort and Moxa NPort.

2. Support for simple structures.

3. Library routines for incr(any-numeric-type) and decr(), or better yet, language support the ++ and -- operators

4. Library support for equivalents to C's atoi() and atol()
Back to top
mikep



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

Posted: 12 March 2006, 0:13 AM    Post subject: Re: A living wish list for ZBasic Reply with quote

stevech wrote:
1. Ability to load programs via WiFi-to-serial and Ethernet-to-serial converters such as Lantronix WiPort and XPort and Moxa NPort.
I assume you mean for the case if they don't support the DTR line and you have to use some special character sequence in the serial stream to initiate a download.
stevech wrote:
2. Support for simple structures.
Yup. I already suggested that to Don.
stevech wrote:
3. Library routines for incr(any-numeric-type) and decr(), or better yet, language support the ++ and -- operators.
If you write the code i = i + 1 where i is a global variable results in a single increment instruction for a byte, integer or long. The ++/-- operators are from C and would be strange to a Basic programmer. Then you may also get into all the problems of prefix and postfix increment.
stevech wrote:
4. Library support for equivalents to C's atoi() and atol()
The system library function ValueS() gets you partway there. I personally have not needed to do much string manipulation and try to avoid it - that is one way to use up stack space and memory.
Back to top
stevech



Joined: 23 Feb 2006
Posts: 657

Posted: 13 March 2006, 20:37 PM    Post subject: Re: A living wish list for ZBasic Reply with quote

Re (1)- Most of these (Moxa, Lantronix, MaxStream) have DTR remoted via their virtual COM driver for Windows, but the timing may be not what ZBasic wants. Example: Moxa NPort sets DTR true when the virutal COMn is opend, and false when closed. During the connection, they say DTR can be changed, but I have yet to get that to work. And the timing may not be what ZBasic
s bootstrap loader expects.

re (2) Thinks like date/time sure could use a structure.

mikep wrote:
stevech wrote:
1. Ability to load programs via WiFi-to-serial and Ethernet-to-serial converters such as Lantronix WiPort and XPort and Moxa NPort.
I assume you mean for the case if they don't support the DTR line and you have to use some special character sequence in the serial stream to initiate a download.
stevech wrote:
2. Support for simple structures.
Yup. I already suggested that to Don.
stevech wrote:
3. Library routines for incr(any-numeric-type) and decr(), or better yet, language support the ++ and -- operators.
If you write the code i = i + 1 where i is a global variable results in a single increment instruction for a byte, integer or long. The ++/-- operators are from C and would be strange to a Basic programmer. Then you may also get into all the problems of prefix and postfix increment.
stevech wrote:
4. Library support for equivalents to C's atoi() and atol()
The system library function ValueS() gets you partway there. I personally have not needed to do much string manipulation and try to avoid it - that is one way to use up stack space and memory.
Back to top
stevech



Joined: 23 Feb 2006
Posts: 657

Posted: 21 March 2006, 6:22 AM    Post subject: Re: A living wish list for ZBasic Reply with quote

Well - as to (1) below - I reflashed/reconfigured the Moxa NPort W2150 Wireless LAN (WiFi) to serial RS232 bridge. Now I am able to download code to the ZX24 from the IDE! I don't know why this fixed it, but now DTR toggles like it should.

I'll try the Lantronix WiPort.


stevech wrote:
In priority order:

1. Ability to load programs via WiFi-to-serial and Ethernet-to-serial converters such as Lantronix WiPort and XPort and Moxa NPort.

2. Support for simple structures.

3. Library routines for incr(any-numeric-type) and decr(), or better yet, language support the ++ and -- operators

4. Library support for equivalents to C's atoi() and atol()
Back to top
dkinzer
Site Admin


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

Posted: 21 March 2006, 7:30 AM    Post subject: Reply with quote

Quote:
Now I am able to download code to the ZX24 from the IDE!

That's good news. Thanks for the update.
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