Search the web
Sign In
New User? Sign Up
cbaspadandhotpawbasic · cbasPad and HotPaw Basic - Discussions about cbasPad and HotPaw Basic
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 2045 - 2079 of 2113   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#2079 From: Michael Hannick <sirhannick@...>
Date: Sat Feb 9, 2008 5:09 pm
Subject: Re: [cbasPad and HotPaw Basic] Program Code Posted
sirhannish
Offline Offline
Send Email Send Email
 
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.com
sirhannick@...


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]

#2078 From: Bob Huber <rhuber40@...>
Date: Tue Feb 5, 2008 2:46 pm
Subject: Re: [cbasPad and HotPaw Basic] Program Code Posted
rhuber40
Offline Offline
Send Email Send Email
 
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]

#2077 From: "sirhannish" <sirhannick@...>
Date: Mon Feb 4, 2008 12:42 am
Subject: Program Code Posted
sirhannish
Offline Offline
Send Email Send Email
 
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.

#2076 From: Bob Huber <rhuber40@...>
Date: Mon Jan 28, 2008 2:22 pm
Subject: Re: [cbasPad and HotPaw Basic] Program Code to be Posted
rhuber40
Offline Offline
Send Email Send Email
 
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]

#2075 From: "sirhannish" <sirhannick@...>
Date: Sat Jan 26, 2008 7:22 pm
Subject: Program Code to be Posted
sirhannish
Offline Offline
Send Email Send Email
 
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]

#2073 From: "LanceGary" <LanceGary@...>
Date: Wed Jan 23, 2008 8:47 am
Subject: Re: Hi All, New Here! Just finished a program too.
LanceGary
Offline Offline
Send Email Send Email
 
--- 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

#2072 From: "sirhannish" <sirhannick@...>
Date: Mon Jan 21, 2008 5:11 am
Subject: Hi All, New Here! Just finished a program too.
sirhannish
Offline Offline
Send Email Send Email
 
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.

#2071 From: "romansutter" <romansutter@...>
Date: Tue Dec 25, 2007 9:38 pm
Subject: Re: where can i get bitman?
romansutter
Offline Offline
Send Email Send Email
 
thank you very much!

greets Bluesmash

#2070 From: mauseohr1944
Date: Tue Dec 25, 2007 4:39 pm
Subject: Re: where can i get bitman?
mauseohr1944
Offline Offline
 
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.

#2067 From: "romansutter" <romansutter@...>
Date: Mon Dec 24, 2007 3:42 pm
Subject: where can i get bitman?
romansutter
Offline Offline
Send Email Send Email
 
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

#2066 From: "rhnlogic" <rhnlogic@...>
Date: Mon Oct 15, 2007 10:54 pm
Subject: Re: Using Assembler with HotPaw
rhnlogic
Offline Offline
Send Email Send Email
 
--- 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.

#2065 From: "corsaelf" <corsaelf@...>
Date: Mon Oct 8, 2007 4:20 pm
Subject: Using Assembler with HotPaw
corsaelf
Offline Offline
Send Email Send Email
 
Hi All.

How can i embed a small assembly code routine (35 bytes)
in a HotPaw basic program?

Ullasmann

#2064 From: "tedbeau" <tedbeau@...>
Date: Thu Sep 20, 2007 1:03 pm
Subject: Error message running hotpaw
tedbeau
Offline Offline
Send Email Send Email
 
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

#2063 From: mauseohr1944
Date: Tue Sep 18, 2007 9:17 pm
Subject: Re: Serial Dilemma
mauseohr1944
Offline Offline
 
Hi
SerialFix is shareware and can be obtained at:
http://handheld.softpedia.com/progDownload/SerialFix-Download-
13224.html

G.

#2060 From: "C.Walsh" <profw@...>
Date: Wed Sep 5, 2007 12:39 am
Subject: Serial Dilemma
profwalsh2
Offline Offline
Send Email Send Email
 
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]

#2059 From: "rhnlogic" <rhnlogic@...>
Date: Tue Sep 4, 2007 9:12 pm
Subject: [cbasPad and HotPaw Basic] Re: Back on line
rhnlogic
Offline Offline
Send Email Send Email
 
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]
>

#2058 From: "C.Walsh" <profw@...>
Date: Sun Sep 2, 2007 2:01 pm
Subject: Re: [cbasPad and HotPaw Basic] Re: Back on line
profwalsh2
Offline Offline
Send Email Send Email
 
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]

#2057 From: "Tom Lake" <tlake@...>
Date: Sun Sep 2, 2007 9:32 am
Subject: Re: Back on line
toml_12953
Offline Offline
Send Email Send Email
 
--- 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

#2056 From: "profwalsh2" <profw@...>
Date: Sat Sep 1, 2007 1:20 pm
Subject: Back on line
profwalsh2
Offline Offline
Send Email Send Email
 
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

#2055 From: "Tom Lake" <tlake@...>
Date: Wed Aug 29, 2007 10:58 pm
Subject: Colors in PalmOS 4.1?
toml_12953
Offline Offline
Send Email Send Email
 
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)?

#2054 From: mauseohr1944
Date: Thu Aug 16, 2007 12:03 pm
Subject: Re: Registration and Hackmaster
mauseohr1944
Offline Offline
 
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.

#2053 From: "stevekammeyer" <stevekammeyer@...>
Date: Mon Aug 13, 2007 12:02 am
Subject: Registration and Hackmaster
stevekammeyer
Offline Offline
Send Email Send Email
 
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...

#2052 From: mauseohr1944
Date: Fri Jul 20, 2007 8:29 pm
Subject: Re: HotPaw Basic beta for missing ^ character
mauseohr1944
Offline Offline
 
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.

#2051 From: "rhnlogic" <rhnlogic@...>
Date: Thu Jul 12, 2007 6:03 pm
Subject: HotPaw Basic beta for missing ^ character
rhnlogic
Offline Offline
Send Email Send Email
 
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.

#2050 From: cbaspadandhotpawbasic@yahoogroups.com
Date: Fri Jun 29, 2007 8:34 pm
Subject: New file uploaded to cbaspadandhotpawbasic
cbaspadandhotpawbasic@yahoogroups.com
Send Email Send Email
 
Hello,

This email message is a notification to let you know that
a file has been uploaded to the Files area of the cbaspadandhotpawbasic
group.

   File        : /HotPaw BASIC Documentation/yBasic-Ref_.PDB
   Uploaded by : mauseohr1944
   Description : yBasic Reference as List-DB - with some corrections

You can access this file at the URL:
http://groups.yahoo.com/group/cbaspadandhotpawbasic/files/HotPaw%20BASIC%20Docum\
entation/yBasic-Ref_.PDB

To learn more about file sharing for your group, please visit:
http://help.yahoo.com/help/us/groups/files

Regards,

mauseohr1944

#2049 From: "ybasicreate" <ybasicreate@...>
Date: Wed Jun 27, 2007 4:28 pm
Subject: Realtime 3D
ybasicreate
Offline Offline
Send Email Send Email
 
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

#2048 From: Steve Giannoni <casagiannoni@...>
Date: Sun Jun 3, 2007 10:24 pm
Subject: Re: [cbasPad and HotPaw Basic] Re: Display Array
casagiannoni
Offline Offline
Send Email Send Email
 
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]

#2047 From: "casagiannoni" <casagiannoni@...>
Date: Sun Jun 3, 2007 1:17 pm
Subject: Re: Display Array
casagiannoni
Offline Offline
Send Email Send Email
 
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.
>

#2046 From: mauseohr1944
Date: Sun Jun 3, 2007 9:52 am
Subject: Re: Display Array
mauseohr1944
Offline Offline
 
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.

#2045 From: "Adam Helberg" <partfeline@...>
Date: Fri Jun 1, 2007 10:07 pm
Subject: Setting the date
partfeline
Offline Offline
Send Email Send Email
 
There is a set time function. Is there a way to set the date on my OS5
Garmin iQue with HotPaw Basic?

Adam

Messages 2045 - 2079 of 2113   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help