Does it run on iPod Touch and iPad, too? Is a full version planned?
I used HotPaw for quite a while on my old Palm PDA
and really enjoyed it.
Tom Lake
I used cbaspad on mine; aside from "the only one available", I liked it.
HotPaw for iPad would make me consider buying an iPad... if I had the $ for
one.
--
Condemned woman rejects last dinner. Sips tea.
> I used cbaspad on mine; aside from "the only one available", I liked it.
Uh... let me rephrase that: Ignoring the fact that cbaspad was the only BASIC
I could find for Palm Pilots at the time, I liked it.
...shutting up now...
--
It's like I can't stop what I'm hearing within.
iPod Touch, yes. The current release of HotPaw Basic will
also run on an iPad in iPhone compatibility mode, but won't
make use of the full display like a Universal app.
Compared with the linux text terminal version of Chipmunk
Basic, it pretty much is a full version. Everything except
networking and process control (fork, etc.). How much more
can be added might be limited by Apple's SDK agreement rules.
--
rhn A.T nicholson d.0.t C-o-M
http://www.hotpaw.com/rhn/basic/iphone
At the time I stopped working on PalmOS apps, there were
over a half dozen Basic programming environments available
for it. Don't know how many of them are still around, but
there's a list on my Basic resources web site (which I need
to update someday...)
http://www.nicholson.com/rhn/basic
IMHO. YMMV.
> On Sep 30, 8:13 am, "Auric__" <not.my.r...@email.address> wrote:
>> On Thu, 30 Sep 2010 13:54:51 GMT, Tom Lake wrote:
>> > "R.Nicholson" <rhnlo...@yahoo.com> wrote in message
>> >news:b4ceeddb-42b5-449c...@13g2000prf.googlegroups.com...
>> >> Get it from the iTunes App store:
>> >>http://itunes.apple.com/us/app/hotpaw-basic/id295464266?mt=8
> ...
>> I used cbaspad on mine; aside from "the only one available",
>> I liked it.
>
> At the time I stopped working on PalmOS apps, there were
> over a half dozen Basic programming environments available
> for it. Don't know how many of them are still around, but
> there's a list on my Basic resources web site (which I need
> to update someday...)
I corrected myself: it was the only one I could find. Anyway, I used it, and
it was pretty handy for when I wasn't around a PC. (Speaking of which, I have
Chipmunk Basic installed as my main BASIC under Linux right now, but am still
getting used to the differences between it and MS BASICs.)
--
Don't take life too seriously, it's only a temporary situation.
So what are the biggest differences that you notice between
a generic MS BASIC and Chipmunk Basic for Linux?
--
rhn A.T nicholson d.0.t C-o-M
How does this manage to get approved? I thought no interpreters are
allowed. Hopefully they won't remove it.
-Carl Gundel
http://www.runbasic.com
http://www.libertybasic.com
Oh, and congratulations! :-)
> On Sep 30, 2:02 pm, "Auric__" <not.my.r...@email.address> wrote:
>> (Speaking of which, I have
>> Chipmunk Basic installed as my main BASIC under Linux right now,
>> but am still
>> getting used to the differences between it and MS BASICs.)
>
> So what are the biggest differences that you notice between
> a generic MS BASIC and Chipmunk Basic for Linux?
Y'know, it's funny. I was having some issues with IF a couple of days ago,
but (of course) now it seems to be working as expected.
I wanted to use this:
IF ((L0 - 1) MOD 3) = 0 THEN code
...but it was barfing on the "= 0", so I changed it to this:
IF ((L0 - 1) MOD 3) THEN
' nothing
ELSE
code
END IF
Of course, I just tested it, and the first version works now. Sigh.
For what it's worth, I was playing around with the Hailstone sequence; the
above code is from a quick program I bashed together to see what it would
look like as a linked list (of sorts). This was just a 5-minute hack, but
here it is:
-----begin collatz.bas-----
dim nxt(32767)
dim prv(32767,1)
for L0 = 1 to 32767
tmp = (L0 * 3) + 1
prv(L0,0) = (L0 * 2)
if (L0 mod 2) then
if tmp < 32768 then prv(tmp, 1) = L0
nxt(L0) = tmp
else
nxt(L0) = (L0 / 2)
if ((L0 - 1) mod 3) then
' meh
else
prv(L0,1) = (L0 - 1) / 3
end if
end if
next
open "all" for output as #1
for L0 = 1 to 32767
if prv(L0,1) then print #1, prv(L0,1); ",";
print #1, prv(L0,0); "->"; L0; "->"; nxt(L0)
next
close #1
-----end collatz.bas-----
Aside from the size of the array, it works unchanged under QBasic. (For QB,
it works if the arrays have 8,191 elements or less... unless they're
DOUBLEs, then it's 4,095 or less.)
--
Beware when Civil Service and Military join hands!
Apple changed their SDK Agreement rules (again) a couple weeks
back. This is rumored to have something to do with a recent
European Competition Commission investigation into anti-trust
allegations with respect to iPhone development tools.
However, the current iOS SDK rules still do not allow any
downloading of interpreted code into an app (except for
Javascript.)
So you have to type your BASIC programs into HotPaw Basic
for iOS, just like ye old days when everybody typed the
programs printed in the many personal computing magazines
into their Apple II, PET, TRS-80, et.al.
IMHO. YMMV.
Does iOS have copy+paste? Or the ability to save files from the www? If so,
just post code to a web server and let the users get it from there.
--
- You have done nothing for which you should be ashamed.
- I have done nothing. And for that I am ashamed.
Apple is smarter than that. The iOS filesystem is securely
sandboxed around each app. There are apps that can download
from the web. And apps that can read files. But not from
the same directory.
R.
I bought a copy of your iPhone HotPaw BASIC. Glad to have it. I was
also a user of your Palm version back when I was a Treo user.
I'm currently working on an iPhone client for my Run BASIC web app-
server so that iPhone users can program mobile apps in BASIC. I hope
to have it ready in the next few weeks.
R.-
On my iPad, I found I could copy a URL in Safari, and paste it into
GoodReader to download a PDF document. Does Apple prevent copying a
text document (BASIC program) and pasting it into HotPaw?
Once you type the program into HotPaw, is it possible to save it? If
so, can you have more than one saved?
You mentioned the TRS-80. I recall being able to purchase cassette tape
programs, and CLOAD them into BASIC.
Fred
Can you send the output to a printer like LPRINT or open a file handle to a
printer and print to that? If you can, I might just buy an iPod touch just
to run this!
Tom Lake
What kind of printer were you thinking of using?
The shipping iPad doesn't have any printing facilities
yet. Perhaps the next OS version might, will have to
see what the printing API looks like then. But I haven't
seen a serial printer in over a decade, much less a
networked serial printer.
Currently HotPaw Basic for iPhone/iOS can print to a
file, and then you can email the file to yourself to
print from an email program on your Mac or PC.
It looks like AirPrint will do what we want if you modify your program to use the
new OS service once it becomes available.
Tom Lake
Since this looks like a page printer API, not a line
printer...
How should a printer determine when to print a page?
Certainly not print a page after every line of output.
After every 60 or 66 lines?
After file close?
After print chr$(); with the ASCII form feed character?
What would be most "standard"?
--
rhn A.T nicholson d.0.t C-o-M
HotPaw Basic for iPhone/iOS
http://www.hotpaw.com/rhn/hotpaw
Would you expect the ASCII form feed character chr$(12)
to trigger page printing? Every 66 lines? An on-screen
button? Or something else?
Probably any one of the above conditions should trigger a print.
Since output will most often not be exactly 66 lines, a file close
or chr$(12) should trigger it and during printing it should automatically
print every 66 lines (maybe user-configurable with default of 66?)
Tom Lake
Yes, be careful here. CHR$(12) and CLOSE #File should certainly
trigger a page feed immediately. However A4 pages give you 70 lines
per page so if you're going to use a line count you need to be able to
change the default. You might want to take a look at the QBASIC WIDTH
command which controls default length and width of pages on the
screen, printer, file or other device.
Cheers
Derek
How did HotPaw BASIC get a 9+ rating on iTunes? Does it cuss when
there's a program error? 8^)
Tom Lake
Interesting. (Will have to check those error messages :-)
HotPaw Basic Lite is now also in the App store:
http://itunes.apple.com/us/app/hotpaw-basic-lite/id287922688?mt=8
Free, but with limitations to two 24-line programs.
And a 4+ Rating.
--
rhn A.T. nicholson d.0.t C-o-M
Now I have a philosophical disagreement with Apple on the basic
premise of the App store. Who the he** are Apple to decide what apps
I can see to purchase? Why do I require some nanny at Apple to decide
that an app is "decent" for me to purchase.
But maybe I'm wrong and I digress from the basics of this newgroup.
Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
For a convenient utility to keep your users FEs and other files
updated see http://www.autofeupdater.com/
> On Wed, 29 Sep 2010 10:56:53 -0700 (PDT), "R.Nicholson"
> <rhnl...@yahoo.com> wrote:
>
>>Get it from the iTunes App store:
>> http://itunes.apple.com/us/app/hotpaw-basic/id295464266?mt=8
>
> Now I have a philosophical disagreement with Apple on the basic
> premise of the App store. Who the he** are Apple to decide what apps
> I can see to purchase? Why do I require some nanny at Apple to decide
> that an app is "decent" for me to purchase.
I've always assumed it's a money thing.
> But maybe I'm wrong and I digress from the basics of this newgroup.
No pun intended, I'm sure. :-)
--
I demand satisfaction! Where's the death?! The fiery violence?!
I dunno how that's different from any other store. Fly
to Arkansas and try to convince Walmart to stock your
homemade cookies or some-such. There are whole books on
how difficult that is. Same with the buyers for any other
large department or grocery store.
As an app customer, I like the idea of someone doing a
bit of malware screening before I can even accidentally
hit download, and not having to give my CC number to
a bunch of different sites. That should lead to more
customers, which should lead to more developers, which
will eventually lead to a greater choice of apps for
those customers.
Apple's nanny-esque store has 300k apps and over a billion
dollars in app sales. How does that compare to the less
nanny-esque PilotGear/PalmGear/Handango world?
Note that even Palm and Microsoft like the idea enough
that they are now screening for their own app stores.
And for unscreened apps, I write my own, as I consider
the $99/annum developer license part of necessary cost
of owning a usable device. (e.g. I didn't even buy an
iPhone until Apple started their Developer program
and offered an SDK.)
IMHO. YMMV.
>> But maybe I'm wrong and I digress from the basics of this newgroup.
>
>No pun intended, I'm sure. :-)
Hehehe, Actually that was unintentional. Maybe I meant to use the
word basis.
With Windows/Linux I can download anything I want from anywhere I
want. Good, bad or real ugly.
Get it from the iTunes App store:
http://itunes.apple.com/us/app/hotpaw-basic/id295464266?mt=8
I'm getting an iPod Touch with 64 GB memory. How much of that can
HowPaw BASIC use? Is there a limit set by Apple or by HotPaw?
Tom Lake
What that specification means is that this device has
64 GB of solid-state "disk" or storage. The actual RAM
memory of the current iPod Touch is 256 MB, IIRC, of
which about one tenth to one quarter of that is available
for an app to use as memory (depending on what else is
running). e.g. attempting to DIM a 100 MB array will
most likely fail with an out of memory error. The rest
of the memory is being used by the OS, graphics, other
apps, such as Mail, running in the background, etc.
If you haven't filled up your iPod with music, etc.,
and have at least a few GB free, at least 2 GB should
be available for any app to use for it's own file
storage.
The biggest current limitation is that Apple's current
App store rules not allow interpreters to be able to
download source code or executable code in any form.