Okay... Back to the original question.
I needed a scripting program to generate reports from HanDBase as the reports I
was producing using Pocket Report became large enough that it was taking too
long with Pocket Report. That and Pocket Report sort of followed the linked
databases of HanDBase. But it wouldn't follow the "related" databases when
creating the report.
Additionally, I had desired something to actually write a program and HanDBase,
although incredibly versatile, didn't do that either. Great program, great
support. Down side is that I can't use it with HanDBase 4.0, which I purchased.
So I continues to be 3.75, for now.
I have used it for calculations and a few other things. But I am a novice at
this, yet.
Planning to hold onto the (Sprint) Palm Treo 755p that I recently purchased to
replace my semi-trusty Treo 650 after losing data one too many times. Had no
problems with corrupted files, reboots, etc. on either device with Hot Paw
Basic.
Will continue tinkering.
--- In cbaspadandhotpawbasic@yahoogroups.com, Michael Taylor
<michaeltaylor1329@...> wrote:
> >
> > Even if it's not being developed anymore, it's still just as useful as
> > it ever was (until the platform goes away completely, of course!)
> >
>
> That is as long as it's compatible with your current operating system. If it's
not, it could make a call to the system that causes it to crash.
>
> And since it's not supported any longer there is no way to know this without
risking destroying your pilot.
>
> Even if it's not being developed anymore, it's still just as useful as
> it ever was (until the platform goes away completely, of course!)
>
That is as long as it's compatible with your current operating system. If it's
not, it could make a call to the system that causes it to crash.
And since it's not supported any longer there is no way to know this without
risking destroying your pilot.
_________________________________________________________________
Get free photo software from Windows Live
http://www.windowslive.com/online/photos?ocid=PID23393::T:WLMTAGL:ON:WL:en-US:SI\
_PH_software:082009
Even if it's not being developed anymore, it's still just as useful as
it ever was (until the platform goes away completely, of course!)
I tend to use it for little calculations, especially for stuff related
to geocaching while I'm out and about. I can solve Vignere ciphers or
calculate the sum of words using A=1, B=2, etc. on the fly without
needing to carry a laptop (although my little 1000H EEE PC is pretty
portable!)
My current work in progress is a fairly simple app that takes data from
a memo selected via a pull-down and puts it into the calendar with an
appropriate alarm times. (I'm a bus driver and this is for my
ever-changing work schedules)
Michael Taylor wrote:
> I thought the product was abandoned.
>
> I've got some ideas, but thought it too dangerous to try them!
>
>
>
>
>
> people working on these days?
>
>> Ed N3SDO
>>
>>
> _________________________________________________________________
> Windows Live™: Keep your life in sync.
>
http://windowslive.com/explore?ocid=PID23384::T:WLMTAGL:ON:WL:en-US:NF_BR_sync:0\
82009
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>
>
[Non-text portions of this message have been removed]
Working with this program for a while, I stumbled into a serious
problem:
If you have "Use pedit 32 memo's" checked in HotPaw Basic
preferences, the program will always display the pedit 32 memos.
fn makelauncher(r,d), however, will pick a memopad memo according to
the pedit 32 database index.
This will create random PRCs which - most probably - will be quite
useless.
I haven't found a way to avoid it.
I uploaded a new version displaying a hint.
This hint will remind you to uncheck the pedit 32 option before you
attempt to make a PRC using a regular Memo Pad memo.
Maybe rhnlogic knows a better way.
G.
Thanks!
--- In cbaspadandhotpawbasic@yahoogroups.com, mauseohr1944
<no_reply@...> wrote:
>
> Hi
>
> That's correct!
> Each application needs a an individual creators ID
>
> As I wrote a long time ago:
>
> You get valid creator IDs when you join the Palm Developer Network and
> register your application.
> You may also make up your own ID as a combination of four characters -
> as long as it is'nt already assigned to another application on your
> device. ( use for instance: Ro07 ).
> You shouldn't use 'own' IDs if you plan to give your PRC away - you'll
> never know, which IDs are in use on other devices.
>
> G.
>
Hi
That's correct!
Each application needs a an individual creators ID
As I wrote a long time ago:
You get valid creator IDs when you join the Palm Developer Network and
register your application.
You may also make up your own ID as a combination of four characters -
as long as it is'nt already assigned to another application on your
device. ( use for instance: Ro07 ).
You shouldn't use 'own' IDs if you plan to give your PRC away - you'll
never know, which IDs are in use on other devices.
G.
I believe Creator ID's need to be unique for every application on your
Palm device. That means each basic program you wish to turn into a prc
will need its own id.
--- In cbaspadandhotpawbasic@yahoogroups.com, "dbc103" <dbc103@...>
wrote:
>
> Hi folks,
>
> Has anyone run into this before? The first time I ran this fantastic
> utility, it created the prc file perfectly. The next time I tried it
> with another bas file, the error appeared.
>
> I thought you were supposed to use your creator id for all programs
you
> wrote and converted to prc files...
>
> Any tips would be appreciated...
>
> Thanks!
>
Hi folks,
Has anyone run into this before? The first time I ran this fantastic
utility, it created the prc file perfectly. The next time I tried it
with another bas file, the error appeared.
I thought you were supposed to use your creator id for all programs you
wrote and converted to prc files...
Any tips would be appreciated...
Thanks!
I am running HotPaw 1.4.6(b2) on a Treo 755p. The Treo is running
PalmOS Garnet 5.4.9.
I have a form with two fields, a popup list, three check boxes, and
two buttons.
Is there a way to use the 5-way button to navigate among the form objects?
The fields should allow only numeric entry. Is there some way to force
the Treo to go into numeric entry when one of the fields has the
focus? Alternatively, can I detect when the Treo is in numeric entry mode?
Thanks,
Karl
Hi
The function mid$(a$,n)=c$ doesn't exist.
Once upon a time I wrote a 'user-defined' function.
Maybe it can be useful for you:
midassign$(a$,n,b$) is almost equivalent to: mid$()=...
a$=midassign$("abcdefg",3,"xxx")
yields a$="abxxxfg"
a$=midassign$("abcdefg",5,"xxx")
yields a$="abcdxxx"
a$=midassign$("abcdefg",7,"xxx")
yields a$="abcdefxxx"
sub midassign$(zz$,z,zy$)
zz=len(zz$)
zy=len(zy$)
zx$=zz$
if zz>=z and zy>0 and z>0
zz$=left$(zz$,z-1)+zy$
if (z+zy-1)<zz
zz$=zz$+mid$(zx$,z+zy)
endif
midassign$=zz$
endif
end sub.
HTH
G.
This and other 'user-defind functions' can be found in my yBasic
reference listdb in the Files section
BTW: There is no need for line numbers. (unless you're using the
scratchpad ).
Does HotPaw Basic support using a mid$ function on the left side of an
equal sign? I get a syntax error, but I know it works in other
dialects of Basic. I know how to get around it, if it is not available.
Here is a test code fragment of what i want to do:
10 dim a$(10),s$(5)
20 a$(1)='0000053008 1823 0Interest'
40 s$(2) =' 17.84'
50 amt=val(s$(2))*100
60 amo$=fn format$(amt, "#######.")
70 mid$(a$(1),11,7)=amo$
80 print a$(1)
Hi all,
Newbie to the world of HotPaw Basic programming and this Yahoo! Group,
so please be kind....
I'm trying to figure out the correct syntax to edit a "generic"
application database on my Tungsten E2; the database is essentially an
initialization file for one of my other Palm applications.
I can read no problem from this database using the db.peek( ) command.
The database is named BibleR+Opt.pdb, and it's TYPE & CreatorID are
both blank when displayed with my file manager FileZ, so it is
definitely not one of the standard databases described in the
documentation.
I've used both of the following HotPaw Basic snippets of code, neither
of which gives me runtime errors (the return values from db.open are
both 0, which says that I have a "valid" database file to work with),
but neither of which overwrites any of the database record entries either.
# Code snippet trial 1, overwriting record #0 @ byte 535 (217Hex)
#
b$ = "BibleR+Opt"
z = db.open b$
s = 40
s$ = chr$(s) # puts 40Hex into s$
db$(z, 0, 535) = s$
# Code snippet trial 2, overwriting record #0 @ byte 535 (217Hex)
#
b$ = "BibleR+Opt"
open b$
s = 40
s$ = chr$(s) # puts 40Hex into s$
db$(b$, 0, 535) = s$
If I try to use the db.edit( ) command, all I get are runtime syntax
error messages. ;-(
Anyway, I can't figure out from the HotPaw Basic documentation what
command and/or syntax I should be using to overwrite my "generic" Palm
OS database. I only need to overwrite a scant 3 bytes in this
database to do what I need to re-initialize my Palm OS application....
Can anyone help me out? Thanks!
Steve B
--- In cbaspadandhotpawbasic@yahoogroups.com, "rhnlogic" <rhnlogic@...>
wrote:
I'm sorry I was referring to the absolute function and I did not see it
in the documentation. Thank you for your response.
>
> HotPaw Basic supports the abs() absolute value function.
> What is the ABS command?
>
> --- In cbaspadandhotpawbasic@yahoogroups.com, "Ray" ramyl@ wrote:
> >
> > Is there any function in this basic that could be used to replace
the
> > ABS command in the older basic
> >
> > Thanks ahead Ray
> >
>
HotPaw Basic supports the abs() absolute value function.
What is the ABS command?
--- In cbaspadandhotpawbasic@yahoogroups.com, "Ray" <ramyl@...> wrote:
>
> Is there any function in this basic that could be used to replace the
> ABS command in the older basic
>
> Thanks ahead Ray
>
--- In cbaspadandhotpawbasic@yahoogroups.com, mauseohr1944
<no_reply@...> wrote:
>
> Hi
>
> > I have been looking at the peg solitaire game code and...
>
> I created the bitmaps in peg solitaire with Bitman 3.2 ( available in
> the File section ) which I developed from Bitman 2.0 by Magnus Wohlen
> ( consent was given by M. Wohlen ).
> This program lets you draw bitmaps and will store the results as a
> memo with Hotpaw compliant stringarrays.
> Details are found in the documentation.
> I don't know a program to covert existing bitmaps into appropriate
> strings - it could be done though - within the limitation of Hotpaw.
>
> G.
>
Thank you for the quick response.
Hi
> I have been looking at the peg solitaire game code and...
I created the bitmaps in peg solitaire with Bitman 3.2 ( available in
the File section ) which I developed from Bitman 2.0 by Magnus Wohlen
( consent was given by M. Wohlen ).
This program lets you draw bitmaps and will store the results as a
memo with Hotpaw compliant stringarrays.
Details are found in the documentation.
I don't know a program to covert existing bitmaps into appropriate
strings - it could be done though - within the limitation of Hotpaw.
G.
I have been looking at the peg solitaire game code and I believe there
are a couple of strings in the code that are converted bitmaps. If this
is true then could someone please give me some tips on how to do this.
Thanks ahead and have a good weekend, Ray
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]