Shop OBEX P1 Docs P2 Docs Learn Events
New Software ??? — Parallax Forums

New Software ???

ArchiverArchiver Posts: 46,084
edited 2003-01-02 20:42 in General Discussion
Is there an estimated time for when the next version of the Basic Stamps
software will be available, Beta version or otherwise?

James

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-12-30 20:56
    We're targeting mid- to late-January. Testing takes time though, even for
    Beta versions. Trust me, you'll like the new stuff.

    -- Jon Williams
    -- Parallax

    Key additions:

    PIN type -- Allows software to adjust syntax based on requirement.

    Examples:

    X PIN 15

    HIGH X ' X is evaluated as a 15
    IF (X = 1) THEN ... ' X is evaluated as In15
    X = 0 ' X is evaluated as Out15


    And what we've all been wanting....

    IF (condition) THEN
    ' statements
    ELSE
    ' other statements
    ENDIF

    You can also do something like this:

    IF (condition) THEN GOSUB Target


    We've also added:

    SELECT expression
    CASE condition
    ' statements
    TCASE condition
    ' statements
    ENDSELECT

    TCASE (Through CASE) is a PBASIC add-in, it allows a condition to be
    evaluated even if the previous CASE evaluated as true (this is not normal in
    BASIC; yet falling through is the default behavior in C and Java).

    And, finally, GOTO can be virtually eliminated with DO-LOOP. Here's the
    syntax:

    DO { WHILE | UNTIL expression }
    ' statements
    LOOP { WHILE | UNTIL expression }

    Examples:

    DO
    ' statements
    LOOP

    DO WHILE (x < 10) ' test before statements
    ' statements
    LOOP

    DO
    ' statements
    LOOP UNTIL (x > 10) ' test after statements

    Finally....

    ON expression GOTO addr1, addr2, addr3 ...
    ON expression GOSUB addr1, addr2, addr3 ...

    Experienced PBASIC programmers will recognize the first statement as the
    functional equivalent of BRANCH. It is; it just uses "classic" BASICA
    syntax. Since we added it, the ON x GOSUB made sense and is actually quite
    useful.

    We've got a few other goodies in our plan, we'll let you know when we've
    implemented and tested those things. What I've mention here is implemented
    and working well in lots of code (I've spent a good deal of time porting
    projects to the new syntax as part of our test).



    In a message dated 12/30/2002 2:28:45 PM Central Standard Time,
    jamesrwaldron@e... writes:

    > Is there an estimated time for when the next version of the Basic Stamps
    > software will be available, Beta version or otherwise?
    >
    > James
    >



    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-12-30 21:02
    Question about Stamp Software for platforms other than Windows (DOS doesn't
    count). Are there any plans for this? Would Parallax be willing to let an
    outside programmer perform the work if the programmers in Parallax are too
    busy? Would Parallax sue if somebody reverse engineered the Stamp Software?
    (Just kidding)

    Happy Holidays,
    Kelley

    Original Message
    From: <jonwms@a...>
    To: <basicstamps@yahoogroups.com>
    Sent: Monday, December 30, 2002 3:56 PM
    Subject: Re: [noparse][[/noparse]basicstamps] New Software ???


    > We're targeting mid- to late-January. Testing takes time though, even for
    > Beta versions. Trust me, you'll like the new stuff.
    >
    > -- Jon Williams
    > -- Parallax
    >
    > Key additions:
    >
    > PIN type -- Allows software to adjust syntax based on requirement.
    >
    > Examples:
    >
    > X PIN 15
    >
    > HIGH X ' X is evaluated as a 15
    > IF (X = 1) THEN ... ' X is evaluated as In15
    > X = 0 ' X is evaluated as Out15
    >
    >
    > And what we've all been wanting....
    >
    > IF (condition) THEN
    > ' statements
    > ELSE
    > ' other statements
    > ENDIF
    >
    > You can also do something like this:
    >
    > IF (condition) THEN GOSUB Target
    >
    >
    > We've also added:
    >
    > SELECT expression
    > CASE condition
    > ' statements
    > TCASE condition
    > ' statements
    > ENDSELECT
    >
    > TCASE (Through CASE) is a PBASIC add-in, it allows a condition to be
    > evaluated even if the previous CASE evaluated as true (this is not normal
    in
    > BASIC; yet falling through is the default behavior in C and Java).
    >
    > And, finally, GOTO can be virtually eliminated with DO-LOOP. Here's the
    > syntax:
    >
    > DO { WHILE | UNTIL expression }
    > ' statements
    > LOOP { WHILE | UNTIL expression }
    >
    > Examples:
    >
    > DO
    > ' statements
    > LOOP
    >
    > DO WHILE (x < 10) ' test before statements
    > ' statements
    > LOOP
    >
    > DO
    > ' statements
    > LOOP UNTIL (x > 10) ' test after statements
    >
    > Finally....
    >
    > ON expression GOTO addr1, addr2, addr3 ...
    > ON expression GOSUB addr1, addr2, addr3 ...
    >
    > Experienced PBASIC programmers will recognize the first statement as the
    > functional equivalent of BRANCH. It is; it just uses "classic" BASICA
    > syntax. Since we added it, the ON x GOSUB made sense and is actually
    quite
    > useful.
    >
    > We've got a few other goodies in our plan, we'll let you know when we've
    > implemented and tested those things. What I've mention here is
    implemented
    > and working well in lots of code (I've spent a good deal of time porting
    > projects to the new syntax as part of our test).
    >
    >
    >
    > In a message dated 12/30/2002 2:28:45 PM Central Standard Time,
    > jamesrwaldron@e... writes:
    >
    > > Is there an estimated time for when the next version of the Basic Stamps
    > > software will be available, Beta version or otherwise?
    > >
    > > James
    > >
    >
    >
    >
    > [noparse][[/noparse]Non-text portions of this message have been removed]
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2002-12-30 23:39
    Yes. No.

    Yes, we have already released precompiled modules for Mac and LINUX systems
    and they are being used by developers to create native tools for those OSes.
    And yes, we will update those modules when we finalize and release PBASIC
    2.5.

    No, we will not let outsiders work with our tokenizer source.

    -- Jon Williams
    -- Parallax


    In a message dated 12/30/2002 3:04:58 PM Central Standard Time,
    schnozzy@v... writes:

    > Question about Stamp Software for platforms other than Windows (DOS doesn't
    > count). Are there any plans for this? Would Parallax be willing to let an
    > outside programmer perform the work if the programmers in Parallax are too
    > busy? Would Parallax sue if somebody reverse engineered the Stamp Software?
    > (Just kidding)
    >
    > Happy Holidays,
    > Kelley



    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-12-30 23:52
    ' For PIC16F628
    ' No external oscillator is required
    ' This uses the internal 4MHz oscillator
    ' No resistor from MCLR to +5V. MCLR is turned OFF

    ' Connections to PIC
    ' Pin #5 to ground
    ' Pin #14 to +5V

    ' Port pins B0, 1,2,3,4,5,6,7 will toggle from ground
    ' to +5V with 500 milliseconds between each toggle.

    @ DEVICE INTRC_OSC, MCLR_OFF, LVP_OFF
    DEFINE OSC 4

    W vaR BYTE
    TIME VAR BYTE

    BEGIN:
    for W = 0 to 7
    HIGH PORTB.0[noparse][[/noparse]W]
    PAUSE 500
    LOW PORTB.0[noparse][[/noparse]W]
    PAUSE 500
    NEXT
    GOTO BEGIN

    END

    Original Message
    From: <jonwms@a...>
    To: <basicstamps@yahoogroups.com>
    Sent: Monday, December 30, 2002 4:39 PM
    Subject: Re: [noparse][[/noparse]basicstamps] New Software ???


    > Yes. No.
    >
    > Yes, we have already released precompiled modules for Mac and LINUX systems
    > and they are being used by developers to create native tools for those OSes.
    > And yes, we will update those modules when we finalize and release PBASIC
    > 2.5.
    >
    > No, we will not let outsiders work with our tokenizer source.
    >
    > -- Jon Williams
    > -- Parallax
    >
    >
    > In a message dated 12/30/2002 3:04:58 PM Central Standard Time,
    > schnozzy@v... writes:
    >
    > > Question about Stamp Software for platforms other than Windows (DOS doesn't
    > > count). Are there any plans for this? Would Parallax be willing to let an
    > > outside programmer perform the work if the programmers in Parallax are too
    > > busy? Would Parallax sue if somebody reverse engineered the Stamp Software?
    > > (Just kidding)
    > >
    > > Happy Holidays,
    > > Kelley
    >
    >
    >
    > [noparse][[/noparse]Non-text portions of this message have been removed]
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and Body
    of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >

    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-01-02 19:37
    Jon,
    I just read the latest Nuts and Volts article about the new editor
    features comming up.
    True IF/THEN/ELSE blocks, DO UNTIL/LOOPS, SELECT/CASE, ON GOSUBS, etc
    Awsome!

    I come from strong programming background, and this will make the Stamp fun
    again!

    Keep up the great job guys!

    Original Message
    From: jonwms@a... <jonwms@a...>
    To: basicstamps@yahoogroups.com <basicstamps@yahoogroups.com>
    Date: Monday, December 30, 2002 2:56 PM
    Subject: Re: [noparse][[/noparse]basicstamps] New Software ???


    >We're targeting mid- to late-January. Testing takes time though, even for
    >Beta versions. Trust me, you'll like the new stuff.
    >
    >-- Jon Williams
    >-- Parallax
    >
    >Key additions:
    >
    >PIN type -- Allows software to adjust syntax based on requirement.
    >
    >Examples:
    >
    > X PIN 15
    >
    > HIGH X ' X is evaluated as a 15
    > IF (X = 1) THEN ... ' X is evaluated as In15
    > X = 0 ' X is evaluated as Out15
    >
    >
    >And what we've all been wanting....
    >
    > IF (condition) THEN
    > ' statements
    > ELSE
    > ' other statements
    > ENDIF
    >
    >You can also do something like this:
    >
    > IF (condition) THEN GOSUB Target
    >
    >
    >We've also added:
    >
    > SELECT expression
    > CASE condition
    > ' statements
    > TCASE condition
    > ' statements
    > ENDSELECT
    >
    >TCASE (Through CASE) is a PBASIC add-in, it allows a condition to be
    >evaluated even if the previous CASE evaluated as true (this is not normal
    in
    >BASIC; yet falling through is the default behavior in C and Java).
    >
    >And, finally, GOTO can be virtually eliminated with DO-LOOP. Here's the
    >syntax:
    >
    > DO { WHILE | UNTIL expression }
    > ' statements
    > LOOP { WHILE | UNTIL expression }
    >
    >Examples:
    >
    > DO
    > ' statements
    > LOOP
    >
    > DO WHILE (x < 10) ' test before statements
    > ' statements
    > LOOP
    >
    > DO
    > ' statements
    > LOOP UNTIL (x > 10) ' test after statements
    >
    >Finally....
    >
    > ON expression GOTO addr1, addr2, addr3 ...
    > ON expression GOSUB addr1, addr2, addr3 ...
    >
    >Experienced PBASIC programmers will recognize the first statement as the
    >functional equivalent of BRANCH. It is; it just uses "classic" BASICA
    >syntax. Since we added it, the ON x GOSUB made sense and is actually quite
    >useful.
    >
    >We've got a few other goodies in our plan, we'll let you know when we've
    >implemented and tested those things. What I've mention here is implemented
    >and working well in lots of code (I've spent a good deal of time porting
    >projects to the new syntax as part of our test).
    >
    >
    >
    >In a message dated 12/30/2002 2:28:45 PM Central Standard Time,
    >jamesrwaldron@e... writes:
    >
    >> Is there an estimated time for when the next version of the Basic Stamps
    >> software will be available, Beta version or otherwise?
    >>
    >> James
    >>
    >
    >
    >
    >[noparse][[/noparse]Non-text portions of this message have been removed]
    >
    >
    >To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    >from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2003-01-02 20:42
    Personally, I've always found the BASIC Stamp fun -- which is why I said
    "Yes" about 0.001 milliseconds after Parallax offered me a job. All kidding
    aside, it is a bit easier to program BASIC Stamps now, especially if you come
    from PC BASICs or languages like Pascal, C or Java.

    -- Jon Williams
    -- Applications Engineer, Parallax

    In a message dated 1/2/2003 1:34:34 PM Central Standard Time, wb@i...
    writes:

    > Jon,
    > I just read the latest Nuts and Volts article about the new editor
    > features comming up.
    > True IF/THEN/ELSE blocks, DO UNTIL/LOOPS, SELECT/CASE, ON GOSUBS, etc
    > Awsome!
    >
    > I come from strong programming background, and this will make the Stamp fun
    > again!
    >
    > Keep up the great job guys!



    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.