Bob,
I posted the code in the files section of the group. It's in a folder
named "sirhannick" Thanks for your help.
-Mike
---
Great Lake Innovations
http://www.gr8lakeinnovations.comsirhannick@...
On Feb 5, 2008, at 8:46 AM, Bob Huber wrote:
> sirhannish
>
> send me the code attached to an email and I will look at the date
> code.
>
> Bob Huber
>
> sirhannish <sirhannick@...> wrote: Hi all again. I've been
> sick and school just started again, so I've
> been a bit busy. There are obviously a lot of issues with the program
> because it's in its early stages. Issues are but not limited to:
> -Not dummy proof
> -Doesn't calculate the days remaining correct (figured out I need to
> use the expiration date instead of registration date to calculated the
> difference)
> -Does not display dates in friendly format
> -GUI need to be cleaned up
> -You cannot keep loading or switch to new and back and forth. You need
> to quit each time
> -obviously there's more
>
> Also, could someone take a look at the date difference algorithm? I
> stole it from one of the tutorial/sample programs.
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
[Non-text portions of this message have been removed]
sirhannish
send me the code attached to an email and I will look at the date code.
Bob Huber
sirhannish <sirhannick@...> wrote: Hi all
again. I've been sick and school just started again, so I've
been a bit busy. There are obviously a lot of issues with the program
because it's in its early stages. Issues are but not limited to:
-Not dummy proof
-Doesn't calculate the days remaining correct (figured out I need to
use the expiration date instead of registration date to calculated the
difference)
-Does not display dates in friendly format
-GUI need to be cleaned up
-You cannot keep loading or switch to new and back and forth. You need
to quit each time
-obviously there's more
Also, could someone take a look at the date difference algorithm? I
stole it from one of the tutorial/sample programs.
[Non-text portions of this message have been removed]
Hi all again. I've been sick and school just started again, so I've
been a bit busy. There are obviously a lot of issues with the program
because it's in its early stages. Issues are but not limited to:
-Not dummy proof
-Doesn't calculate the days remaining correct (figured out I need to
use the expiration date instead of registration date to calculated the
difference)
-Does not display dates in friendly format
-GUI need to be cleaned up
-You cannot keep loading or switch to new and back and forth. You need
to quit each time
-obviously there's more
Also, could someone take a look at the date difference algorithm? I
stole it from one of the tutorial/sample programs.
dirhannish,
I appreciate your posting your programming efforts. I enjoy seeing how people
solve some of the tangled programming problems.
Respectfully
Bob Huber
sirhannish <sirhannick@...> wrote: I will
be posting the code in my programs folder here:
http://tech.groups.yahoo.com/group/cbaspadandhotpawbasic/files/Programs/\
sirhannick/
<http://tech.groups.yahoo.com/group/cbaspadandhotpawbasic/files/Programs\
/sirhannick/>
Right now I'm sick, so it I'm a little busy [I-)]
The program is version 0.1 beta, so it just has most of the
functionality necessary for basic operation. It is not yet dummy
proofed, so you might need to take a look at the code to understand it
if you have trouble running it. There are a lot more features I'd like
as described above, and I need to clean up the GUI. Maybe put some
color in there [:D]
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
I will be posting the code in my programs folder here:
http://tech.groups.yahoo.com/group/cbaspadandhotpawbasic/files/Programs/\
sirhannick/
<http://tech.groups.yahoo.com/group/cbaspadandhotpawbasic/files/Programs\
/sirhannick/>
Right now I'm sick, so it I'm a little busy [I-)]
The program is version 0.1 beta, so it just has most of the
functionality necessary for basic operation. It is not yet dummy
proofed, so you might need to take a look at the code to understand it
if you have trouble running it. There are a lot more features I'd like
as described above, and I need to clean up the GUI. Maybe put some
color in there [:D]
[Non-text portions of this message have been removed]
--- In cbaspadandhotpawbasic@yahoogroups.com, "sirhannish"
<sirhannick@...> wrote:
>
> Hi, I'm new to the forum, but I've used Hotpaw for some time now.
> Since I got my Palm IIIe I used it religiously, but then unfortunately
> forgot about it for a while. Now I'm using a Treo 680p and am finally
> using it again. I just finished writing the core of an application
> that keeps track of my client's Norton Antivirus subscriptions. It
> allows you to enter the client name, computer description, software
> version, registration date, and keeps the serial & key handy for you.
> You can then load your client and see how many days are remaining on
> the subscription. Eventually it will give you an alert when you launch
> it if any of the subscriptions will expire within 30 days. Also it
> will allow the option of adding an even to your calender. I find this
> program very useful to keep track of software for my many clients in
> one place. It would be great for any computer tech. I would be more
> than willing to share my code if anyone is interested.
>
Yes please!
There is a files section associated with this group. Perhaps that would
be a good place for your code? And thanks for your willingness to share.
Lance
Hi, I'm new to the forum, but I've used Hotpaw for some time now.
Since I got my Palm IIIe I used it religiously, but then unfortunately
forgot about it for a while. Now I'm using a Treo 680p and am finally
using it again. I just finished writing the core of an application
that keeps track of my client's Norton Antivirus subscriptions. It
allows you to enter the client name, computer description, software
version, registration date, and keeps the serial & key handy for you.
You can then load your client and see how many days are remaining on
the subscription. Eventually it will give you an alert when you launch
it if any of the subscriptions will expire within 30 days. Also it
will allow the option of adding an even to your calender. I find this
program very useful to keep track of software for my many clients in
one place. It would be great for any computer tech. I would be more
than willing to share my code if anyone is interested.
Hi
Apparently the links in HotPaw's homepage are broken.
I dug up the original file and added it to Files/Programs.
In addition, I can offer Bitman 3.2, which is based on the original by
Magnus Wohlen.
Some features have been added and some routines were rewritten to
increase speed ( to an extend ).
You'll find Bitman 3.2 in Files/Prgrams.
The zip-file contains a prc you might hotsync plus instructions (
both as html and doc-file ).
Due to size, the source is now a pedit32 memo ( 12.5 KB ).
Should anybody be interested to get the source, I might split it back
to a main memo and a couple onf inc memos.
Adapting the original program and pubblishing the result here, has
been approved by Magnus Wohlen by personal e-mail
Regards
G.
I search the Bitman Programm to make Bitmap Strings... did anyone have
this Program and can send it to me?
I can't find this Programm in the Internet and in the files section...
greets
Bluesmash
--- In cbaspadandhotpawbasic@yahoogroups.com, "corsaelf"
<corsaelf@...> wrote:
> How can i embed a small assembly code routine (35 bytes)
> in a HotPaw basic program?
For 68k code, there are two possibilities. You can use a
3rd party assembler to convert the 68k assembly language
into binary or hex machine code data. This data can then be
loaded into an integer array, and a varptr() to that array
can be called using the call command.
Another method might be to use the some of the PalmOS compiler
tools to create a 'bcmd' resource. Not sure which, if any,
of these tools support in-line 68k assembly language. There
may be an example bcmd somewhere on the HotPaw website.
For ARM code, you have to use the PalmOS tools to create an
armlet/pnolet, and then install that armlet on the device.
HotPaw Basic can call armlet/pnolets using a built-in
function described in the README documentation.
When I try to open Hotpaw or run an existing application on my Zire I
get an error message that says:
"The data storage of the handheld is full."
Using FileEz I show that I have .9M of 1.8M memory free
(Original 2MB Zire)
I seem to be able to add apointments in Datebook and add memo's without
any trouble.
Does Hotpaw have a cap on how much memory it is allowed to use?
I only have a few small Hotpaw applications on the Zire.
Ted
Hello all,
Thanks to the help of my good friend from Germany, the Tungsten T3 serial
dilemma is over. The solution was a neat little program 23K's worth called
serial fix. I down loaded to another older palm then IR'd it to the T3. I
activated the serial fix by checking the box on the T3. I then ran the serial
control routine, written in Cbas, It worked. If someone needs the program
please let me know.
C. Walsh
1600 5th Ave NW
Great Falls MT 59404
----- Original Message -----
From: rhnlogic
To: cbaspadandhotpawbasic@yahoogroups.com
Sent: Tuesday, September 04, 2007 3:12 PM
Subject: [cbasPad and HotPaw Basic] Re: Back on line
Likely not. Palm not only changed portions of the software
interface, but the hardware itself, even the voltages on the
serial port pins. The T3 uses a very different CPU (XScale ARM)
than does the 3C (Dragonball 68000). The built-in serial port
hardware is thus completely different, and the older OS won't
run on a different CPU.
The 3C was also one of very few models to use 8-bit color,
which was obsoleted by the time of the Tungsten models, which
use a 16-bit color model (but maybe 12 or 15 bit color displays).
--- In cbaspadandhotpawbasic@yahoogroups.com, "C.Walsh" <profw@...> wrote:
>
> Can anything or has anything been done to help in this regard ? Can
the OS of a T3 be changed to an earlier version ?
>
> C. Walsh
> 1600 5th Ave NW
> Great Falls MT 59404
> ----- Original Message -----
> From: Tom Lake
> To: cbaspadandhotpawbasic@yahoogroups.com
> Sent: Sunday, September 02, 2007 3:32 AM
> Subject: [cbasPad and HotPaw Basic] Re: Back on line
>
>
> --- In cbaspadandhotpawbasic@yahoogroups.com, "profwalsh2" <profw@>
> wrote:
> >
> > It's good to be back on this group, after a long time of
bouncing due
> > to an email address change.
> >
> > Question: Does anyone know if there is a difference between the
> > older Palm's 3C etc. and that of the T3's ? My serial controlled
> > programs run fine on the older palms but the programs lock up on
the
> > Titanium T3, anyone know why ?
>
> HotPaw seems to have some problems with PalmOS 4.x and up. Serial
> ports and color among them.
>
> Tom Lake
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
[Non-text portions of this message have been removed]
Likely not. Palm not only changed portions of the software
interface, but the hardware itself, even the voltages on the
serial port pins. The T3 uses a very different CPU (XScale ARM)
than does the 3C (Dragonball 68000). The built-in serial port
hardware is thus completely different, and the older OS won't
run on a different CPU.
The 3C was also one of very few models to use 8-bit color,
which was obsoleted by the time of the Tungsten models, which
use a 16-bit color model (but maybe 12 or 15 bit color displays).
--- In cbaspadandhotpawbasic@yahoogroups.com, "C.Walsh" <profw@...> wrote:
>
> Can anything or has anything been done to help in this regard ? Can
the OS of a T3 be changed to an earlier version ?
>
> C. Walsh
> 1600 5th Ave NW
> Great Falls MT 59404
> ----- Original Message -----
> From: Tom Lake
> To: cbaspadandhotpawbasic@yahoogroups.com
> Sent: Sunday, September 02, 2007 3:32 AM
> Subject: [cbasPad and HotPaw Basic] Re: Back on line
>
>
> --- In cbaspadandhotpawbasic@yahoogroups.com, "profwalsh2" <profw@>
> wrote:
> >
> > It's good to be back on this group, after a long time of
bouncing due
> > to an email address change.
> >
> > Question: Does anyone know if there is a difference between the
> > older Palm's 3C etc. and that of the T3's ? My serial controlled
> > programs run fine on the older palms but the programs lock up on
the
> > Titanium T3, anyone know why ?
>
> HotPaw seems to have some problems with PalmOS 4.x and up. Serial
> ports and color among them.
>
> Tom Lake
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Can anything or has anything been done to help in this regard ? Can the OS of a
T3 be changed to an earlier version ?
C. Walsh
1600 5th Ave NW
Great Falls MT 59404
----- Original Message -----
From: Tom Lake
To: cbaspadandhotpawbasic@yahoogroups.com
Sent: Sunday, September 02, 2007 3:32 AM
Subject: [cbasPad and HotPaw Basic] Re: Back on line
--- In cbaspadandhotpawbasic@yahoogroups.com, "profwalsh2" <profw@...>
wrote:
>
> It's good to be back on this group, after a long time of bouncing due
> to an email address change.
>
> Question: Does anyone know if there is a difference between the
> older Palm's 3C etc. and that of the T3's ? My serial controlled
> programs run fine on the older palms but the programs lock up on the
> Titanium T3, anyone know why ?
HotPaw seems to have some problems with PalmOS 4.x and up. Serial
ports and color among them.
Tom Lake
[Non-text portions of this message have been removed]
--- In cbaspadandhotpawbasic@yahoogroups.com, "profwalsh2" <profw@...>
wrote:
>
> It's good to be back on this group, after a long time of bouncing due
> to an email address change.
>
> Question: Does anyone know if there is a difference between the
> older Palm's 3C etc. and that of the T3's ? My serial controlled
> programs run fine on the older palms but the programs lock up on the
> Titanium T3, anyone know why ?
HotPaw seems to have some problems with PalmOS 4.x and up. Serial
ports and color among them.
Tom Lake
It's good to be back on this group, after a long time of bouncing due
to an email address change.
Question: Does anyone know if there is a difference between the
older Palm's 3C etc. and that of the T3's ? My serial controlled
programs run fine on the older palms but the programs lock up on the
Titanium T3, anyone know why ?
Chuck in Montana
I was using HotPaw in PalmOS 3.51 on a Palm IIIc. I upgraded to PalmOS
4.1 and now COLOR shows mostly green with some yellow in the
color3.bas demo program. Is there a fix for the COLOR statement to
correcly initialize the pallette to VGA colors as it used to do (if
that was indeed the problem)?
Hi
I tried to produce the same results with my registered ciopy by
manipulating then ybasreg.prc, but did't get the same behaviour.
A case for rhnlogic.
In ordwer to switch between edit and run, you'll have to install and
activate switchhack ( which will cause a warm boot of your Palm if
called with a menu open )
BTW: I'm using x-master instead of hackmaster.
Regards
G.
I have been using a demo version for several days. I just purchased
a registration but I have to enter the number every time to see my
programs. Also, something was mentioned in the documentation about
using the Hackmaster utility to toggle between run and edit. I'd
like more info on that. Thanks...
Hi
Unfortunately this release does NOT fix the bug introduced with
version 1.4.5:
Only the up-and down-keys work as documented. ALL other keys call the
assigned application. ( Handspring Visor )
This bug has been reported a long, long time ago to rhn by mail -
apparently my 'outdated' Visor is a neglected minority.
But, since I don't know whether or not this bug only my personal (
Visor ) problem, I dont think I'm going to buy a new PDA.
G.
See the HotPaw website site:
http://www.hotpaw.com/rhn/hotpaw
Beta test version 1.4.6b0.0 has
a couple different ways to enter
the ^ character
for use as the power operator.
Recently i have been expermenting with the 3D outputs in y basic
example:
#3d plot.bas
cls : rem clear screen
rem - the equaion in (x,y)
z$ = "x^3*y-x*y^3"
rem - set view angles
fn plot(35,"","","",0.3,0.6,64)
rem - plot it
fn plot(32,z$,"x","y",-3,3,100)
fn pen(0)
///////////
but now i have decided i want to make a real time rotation of this 3D
output (keeping the blocks around 10-5 instead of 100)
does anyone know how to do this? i know it has to do with the first
"fn plot"
please help
Attached solves the "Knight's Tour" problem. A single Knight is placed at some
point on an otherwise empty Chess board, and it is the object to move the piece
around to cover every position once and ONLY once.
Divide a sheet of paper into an 8 x 8 boxed grid, place the Knight by number "1"
on some square, and then proceed with the moves, putting numbers 2, 3, ... , 63,
64 in each of the other boxes.
If you make it past 50, you're doing great, but you'll never make it to 64.
My program, will do it every time !
----- Original Message -----
From: mauseohr1944
To: cbaspadandhotpawbasic@yahoogroups.com
Sent: Sunday, June 03, 2007 5:52 AM
Subject: [cbasPad and HotPaw Basic] Re: Display Array
Hi
this code might help:
#display.bas
'initialize and fill an array
dim ii(8,8)
for y=1 to 8
for x=1 to 8
ii(x,y)=-32000-x-(y-1)*8
next
next
'erase display including stop-button
cls
draw 0,140, 160,20,- 7
'dislay 64 integers
for y=0 to 15
for x=0 to 3
xx=int(y mod 2)*4+x+1
yy=int(y/2)+1
i$=str$(ii(xx,yy))
draw i$,(40*x),(9*y+15)
next
next
i$=input$(1)
HTH
G.
----------
#knghtstr.bas
cls
draw 0,140,160,20,-7
draw "*** Knight's Tour ***", 32, 40
draw"by Steve Giannoni",44,60
draw"( tap anywhere )",48,80
dim q%(11, 11),dx%(8), dy%(8), a%(8), d%(8)
mv% = 1
for i = 1 to 8
read dx%(i), dy%(i)
next
data 1,2,2,1,2,-1,1,-2,-1,-2,-2,-1,-2,1,-1,2
for i = 0 to 11
q%(0, i) = 1
q%(1, i) = 1
q%(10, i) = 1
q%(11, i) = 1
next
for i = 2 to 9
q%(i, 0) = 1
q%(i, 1) = 1
q%(i, 10) = 1
q%(i, 11) = 1
next
x% = rnd(8) + 2
y% = rnd(8) + 2
q%(x%, y%) = 1
while (mv%<64)
mv% = mv% + 1
for i = 1 to 8
a%(i) = 0
u% = x% + dx%(i)
v% = y% + dy%(i)
if q%(u%, v%) = 0 then
for j = 1 to 8
s% = u% + dx%(j)
t% = v% + dy%(j)
if q%(s%, t%) = 0 then a%(i) = a%(i) + 1
next
endif
next
min% = 8
for i = 1 to 8
if a%(i) < min% and a%(i) > 0 then min% = a%(i)
next
c% = 0
for i = 1 to 8
if a%(i) = min% then
c% = c% + 1
d%(c%) = i
endif
next
e% = rnd(c%) + 1
x% = x% + dx%(d%(e%))
y% = y% + dy%(d%(e%))
q%(x%, y%) = mv%
wend
fn pen(0)
cls
draw 0,140,160,20,-7
for j = 2 to 9
for i = 2 to 9
if q%(i, j)=0 then q%(i, j) =64
if q%(i, j)<10 then
g%=3
else
g%=0
endif
w$=str$(q%(i, j))
draw w$, 20*(i-2)+4+g%,18*(j-1)
next
next
fn pen(0)
end
[Non-text portions of this message have been removed]
Ah YES !
MANY thanks.
I have very poor reference materials and haven't programmed in yBasic
for years.
Beautiful results now ...
--- In cbaspadandhotpawbasic@yahoogroups.com, mauseohr1944
<no_reply@...> wrote:
>
> Hi
> this code might help:
>
> #display.bas
> 'initialize and fill an array
> dim ii(8,8)
> for y=1 to 8
> for x=1 to 8
> ii(x,y)=-32000-x-(y-1)*8
> next
> next
> 'erase display including stop-button
> cls
> draw 0,140, 160,20,- 7
> 'dislay 64 integers
> for y=0 to 15
> for x=0 to 3
> xx=int(y mod 2)*4+x+1
> yy=int(y/2)+1
> i$=str$(ii(xx,yy))
> draw i$,(40*x),(9*y+15)
> next
> next
> i$=input$(1)
>
> HTH
> G.
>
Hi
this code might help:
#display.bas
'initialize and fill an array
dim ii(8,8)
for y=1 to 8
for x=1 to 8
ii(x,y)=-32000-x-(y-1)*8
next
next
'erase display including stop-button
cls
draw 0,140, 160,20,- 7
'dislay 64 integers
for y=0 to 15
for x=0 to 3
xx=int(y mod 2)*4+x+1
yy=int(y/2)+1
i$=str$(ii(xx,yy))
draw i$,(40*x),(9*y+15)
next
next
i$=input$(1)
HTH
G.