Results 1 to 16 of 16
  1.    #1  
    Is there a way to program the Treo using any version of Basic ?

    thanks for any help.
  2. #2  
    Do a seach on google for handheld basic. They have a demo of the ide you can try.
  3. #3  
    You can use SmallBasic, available (free) from http://smallbasic.sf.net
    Shneor
    Pre 3 on T-Mobile, 32gb Touchpad
  4. #4  
    Nice find, thanks shneor.
  5. #5  
    IziBasic is very good.

    You can make standard prc files with it, and there is no runtime. You can do everything from the palm.

    stipus
  6. #6  
    How about Logo? I want to move the turtle around my screen.
    Factory unlocked/unbranded GSM 650 - Tmobile; FW: 1.71; SW: 1.20-ENA; Carrier DB: 255; HW: A

    If I'm repeating what someone has already said look at how long the thread is and ask yourself if you really expect me to read the whole thing.
  7. #7  
    If you want a desktop IDE, NSBasic is superb. You can built incredibly complex apps with it and it's pretty easy to learn and the yahoo forum is great. It's not as robust as using C but it's a ton easier, especiallly if you know Basic.
  8. #8  
    I highly recommend Handheld Basic ++ (HB++) which you can find here:
    http://www.handheld-basic.com

    It's powerful and the compiles are small and fast. The language syntax and IDE mimic Visual Basic (pre-.NET).
    Now THIS is the future of smartphones.
  9. #9  
    Do any of these basics allow one to retreive data from online sources? I'm reading the izibasic documentation, and it doesn't seem to.

    -Warr
    Progress? Well, at least I can get color traffic maps now...
    Psion 3a -> Psion 3c -> Palm IIIXE -> Palm VIIx -> Kyocera 7135 -> Treo 650 -> Centro
  10. #10  
    Quote Originally Posted by wernst
    Do any of these basics allow one to retreive data from online sources? I'm reading the izibasic documentation, and it doesn't seem to.

    -Warr
    I can't tell you which one (or ones) does this, but I believe Flight Status is written in Basic, for example. It goes online to query for flight status. It's a donationware program, available at http://mytreo.net.
    Shneor
    Pre 3 on T-Mobile, 32gb Touchpad
  11. #11  
    I have actually been researching this as well (on and off for a month) and it looks like only SuperWaba and HB++ (Handbasic) offer the ability to program Network-Aware Palm Applications.

    izibasic is itself written in PP (PocketPascal?) - which doesnt have network access - so neither does izi

    izi also crashes my Treo (often)

    I tried the free demo of HB++ last night, didnt get too far but it's like a (poor) version of realbasic - or an palm version of visualbasic ... which is good.
  12. #12  
    Quote Originally Posted by MoonShark413@ya
    I have actually been researching this as well (on and off for a month) and it looks like only SuperWaba and HB++ (Handbasic) offer the ability to program Network-Aware Palm Applications.

    izibasic is itself written in PP (PocketPascal?) - which doesnt have network access - so neither does izi

    izi also crashes my Treo (often)

    I tried the free demo of HB++ last night, didnt get too far but it's like a (poor) version of realbasic - or an palm version of visualbasic ... which is good.
    Any links for these language applications?

    -Warr
    Progress? Well, at least I can get color traffic maps now...
    Psion 3a -> Psion 3c -> Palm IIIXE -> Palm VIIx -> Kyocera 7135 -> Treo 650 -> Centro
  13. #13  
    Do you want to program on the Treo itself?
    If so, try HotPaw Basic at: http://www.hotpaw.com/rhn/hotpaw (my application!)
    HotPaw Basic allows database access, dynamic form creation, graphs and networking.
    There's also cbasPad5, SmallBasic and iziBasic which also allow programming on a Treo.

    Or do you want to program in Basic on a PC to create Treo applications?
    For that there's NSBasic and HB++.

    - Ron
  14. #14  
    BTW, the cbasPad Basic interpreter was one of the first 100 applications developed for the Palm Pilot predecessor to the Treo way back in 1996.
  15. twotone's Avatar
    Posts
    22 Posts
    Global Posts
    23 Global Posts
    #15  
    Quote Originally Posted by logicpaw View Post
    Do you want to program on the Treo itself?
    If so, try HotPaw Basic at: http://www.hotpaw.com/rhn/hotpaw (my application!)
    HotPaw Basic allows database access, dynamic form creation, graphs and networking.
    There's also cbasPad5, SmallBasic and iziBasic which also allow programming on a Treo.

    Or do you want to program in Basic on a PC to create Treo applications?
    For that there's NSBasic and HB++.

    - Ron
    I've been trying out hotpaw basic and I am liking it very much. However, I can't seem to find very much info or code examples for tcp/ip programming. Do you have some examples you can post here? Or can you direct us to some? I have so far been able to cobble together a simple test based on the info in the hotpaw ybasec-quickref doc, but I don't entirely understand what I am doing. Here is the code:

    Code:
    #network.bas
    ip$="192.53.103.103"
    p=13
    c=fn tcp( 1, ip$, p )  '- opens socket at dotted ip address ip$, port p
    
    if c=0 then
      display c, "connection successful"
    else
      display c, "connection unsuccessful"
      end
    endif
    
    n=1240
    s$=""
    s$(0)=""
    
    fn tcp( 4, s$, n)  '- sends n bytes of s$, returns number sent
    fn tcp( 8, "", n)  '- returns bytes received (up to n) in s$(0)
                           '- uses automatic 10 second timeout
    display s$(0)
    fn tcp(-1, "", 0)  '- closes network socket
    
    end
    This gets the date and time from some time server at port 13, and it works. However, I can't get my program to connect to my web server at port 80 to get any data such as a web page, or text data. If I try my web server ip address and port 80, I get a c=-1 (no connection) instead of the c=0 (successful connection). Ideally I would want to send and receive data to and from perl scripts that I would write to do most of the internet side of things. How would I access a script at, for example, "64.21.87.190/cgi-bin/ybasic/fetch_page.pl?p=www.somesite.com" on port 80?

    Any help will be greatly appreciated.
  16. #16  
    Once you connect to the port successfully, just transmit the following string and read back the response.

    GET /cgi-bin/ybasic/fetch_page.pl?p=www.somesite.com

    See this for more details:
    http://en.wikipedia.org/wiki/HTTP

    You can experiment with this on a desktop machine by telnetting to port 80 of a web server:
    telnet myserver.com 80

    I don't know why your connection is failing. Make sure that you're connected to your ISP data provider (Sprint, etc.) before running your test program, as suggested here:
    http://www.hotpaw.com/rhn/hotpaw/quickref.txt

    Of course make sure that your're using a dotted IP address such as 67.19.190.244, not a fully-qualified-domain-name (FQDN) such as www.treocentral.com

    You should probably ask your question on their Yahoo group, although it's almost completely inactive:
    http://tech.groups.yahoo.com/group/c...ndhotpawbasic/

Posting Permissions