can i program a bs2 in c++
Archiver
Posts: 46,084
im currently learning 3 launguages, one of which is c++ i was
wondering if theres a way to program a bs2 with c++ just to
practice,
i have a feeling i know the answer to this, paralax is unique
because of there adaption to basic, and it cant be done, if this is
the case can any one point me in the direction i need to go ? or
isprograming in c++ not posible,
wondering if theres a way to program a bs2 with c++ just to
practice,
i have a feeling i know the answer to this, paralax is unique
because of there adaption to basic, and it cant be done, if this is
the case can any one point me in the direction i need to go ? or
isprograming in c++ not posible,
Comments
The real experts will answer soon I am sure.
ken
im currently learning 3 launguages, one of which is c++ i was
wondering if theres a way to program a bs2 with c++ just to
practice,
i have a feeling i know the answer to this, paralax is unique
because of there adaption to basic, and it cant be done, if this is
the case can any one point me in the direction i need to go ? or
isprograming in c++ not posible,
[noparse][[/noparse]Non-text portions of this message have been removed]
I agree.
It turns out that the Stamps are only programmable in BASIC. If you
want to work in something else, choose a Javelin. Or an SX based
system. They sell SX devices which require assembly to program them.
For myself, I'd rather stick with BASIC.
Besides, Jon has already answered that question several times.
Gregg C Levine hansolofalcon@w...
"The Force will be with you...Always." Obi-Wan Kenobi
"Use the Force, Luke."· Obi-Wan Kenobi
>
Original Message
> From: smartdim@a... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=2IXagnvDJ4TTPGYx_k09xyvodcVaPduxA-u7ZlWqCgjNriWRKHC3Vv2qxDimh7cHbQpD7xqiy7tE]smartdim@a...[/url
> Sent: Saturday, April 10, 2004 11:15 PM
> To: basicstamps@yahoogroups.com
> Subject: Re: [noparse][[/noparse]basicstamps] can i program a bs2 in c++
>
> I am pretty sure you CANNOT program the basic stamp in any other
language.
>
> The real experts will answer soon I am sure.
>
> ken
>
> im currently learning 3 launguages, one of which is c++ i was
> wondering if theres a way to program a bs2 with c++ just to
> practice,
> i have a feeling i know the answer to this, paralax is unique
> because of there adaption to basic, and it cant be done, if this is
> the case can any one point me in the direction i need to go ? or
> isprograming in c++ not posible,
basic stamp has an "interpreter" programmed into it and runs the tokenized
code compiled by the PBASIC compiler.
Original Message
From: "jutsuju" <xsavior38@h...>
To: <basicstamps@yahoogroups.com>
Sent: Saturday, April 10, 2004 7:11 PM
Subject: [noparse][[/noparse]basicstamps] can i program a bs2 in c++
> im currently learning 3 launguages, one of which is c++ i was
> wondering if theres a way to program a bs2 with c++ just to
> practice,
> i have a feeling i know the answer to this, paralax is unique
> because of there adaption to basic, and it cant be done, if this is
> the case can any one point me in the direction i need to go ? or
> isprograming in c++ not posible,
>
>
>
>
> 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.
>
> Yahoo! Groups Links
>
>
>
>
>
> basic stamp has an "interpreter" programmed into it and runs the tokenized
> code compiled by the PBASIC compiler.
In theory, you could write a C to PBASIC translator. Then you would run you
C code thru the translator and feed that output of that to the PBASIC
compiler and send the results to the STAMP.
Not sure how you would handle passing variables to functions thou.
But in theory, anything's possible. ;-)
I (briefly) considered this when I started playing with the STAMP's. After
programming in C for years I felt very constrained by the BASIC syntax. I've
switched to the Javelin now and feel much less constrained (except for my
wallet!).
--
Enjoy,
George Warner,
Schizophrenic Optimization Scientists
Apple Developer Technical Support (DTS)