GolfCard
v1.3
by D.A.Riley
2001.7.14


First, the legal mumbo-jumbo:

This product is offered "as-is".  No warranty is expressed or implied.  Use of this program means that you accept the terms of this agreement.  You may use, copy, and redistribute this program freely, as long as it is for non-commercial use and done so unmodified.


Humor Me:

This is, hopefully, only my first contribution to the REX user community.  After my admiration of other developers, who have had success developing addins in assembler and C, I thought it time to jump into the fray.  But, being a UNIX administrator by trade, C felt much more comfortable than assembler.  Thanks to Chris Harris, Myles Rix, and other developers who have offered their time and source code to the continued development for and of the REX community.


Now, about GolfCard:

After all this hard work, GolfCard is relatively easy.  Select a player in the leftmost column and put in a player's name.

After setting a name, 0's come up for scores.  Select a hole for a player and the block should reverse.  At this point, select a number (0-9) from the buttons at the bottom of the screen.  The score and totals are updated.

The "Home" key can be used to allow quick power-off after updating scores (save those batteries!).  

The "Back" key exits the program and loses your unsaved changes.  

The "Select" button will allow you to save you score to the memo area and specify upto 15 characters as a memo name.  Be warned, problems have still not been perfected with writing the memo to the REX, so, you may end up having to reset your REX when trying to view a saved scorecard.  This does nothing to the REX, and the memo appears to be fine after resetting.

The "Up" key switches to the front nine score.  The "Down" key switches to the back nine.

Based on response from the user community, a checkbox has been added to display or not display score totals while playing.  I have test v1.3 to ensure scores, up to all 9's , can be entered for all 4 players (a really BAD foursome, no doubt).  Also, after powering down and turning the unit back on, you will be able to continue scoring your game, but, selecting holes above 6 may be a little tricky, but still doable.  This was a problem uncovered in beta, and is why scoring buttons were switched to events.  But do to the limit of events, I am left checking x/y coordinates of screen touches to determine what hole you are trying to score.


The Source Code and the Future:

I've included the source code used with the SDK9 (www.mirix.net) to create GolfCard.  As those who are working on this kind of stuff know, this was developed using T&E Methodology, Trial & Error.  It is not real pretty, or very efficient, and I might question someone else gaining anything from my demented thought processes.  But, I figure maybe Chris, Myles, and others may have felt that way too.

Thanks to Myles for providing string routines, all the work on the SDK, and even for troubleshooting help.  I'd split half of the profits with him, but, it is freeware you know.

Feel free to borrow or learn whatever you might in development of your own programs.  I will look forward to some great applications in the near future.

I'm undecided on my next venture.  As much as I've teased Dana about Asteriods, Myles has made some awesome strides with stuff, and I might be in the mood for a game.  If someone doesn't beat me to it, I also thought of trying to build a small spreadsheet program.  That was why I really beat my self up trying to tackle this database stuff with saving score cards.  This community really needs a "killer app" you know ;).


Humor me some more:

Well, that's about all I have for documentation.  

My final two-cents is dedicated to Dana White, whose website http://home.san.rr.com/dawhites/rex6000/ has done more to acclimate new users and keep the REX community informed than Xircom itself.  Certainly, his commitment to helping this community at large with no personal gain, and sometime undo grief, went a long way to convincing me to contribute as well. 

Besides, he asked for the addin.

Stay out of the rough and watch the Mulligans :D

Known Bugs:
7/14/01 - Selecting holes 7-9 or 16-18, depending on front nine or back, is more difficult after powering REX back up after powering down in the middle of the application.
7/14/01 - Saving scorecords still seems to cause the REX to generate an Error 0001 and requires resetting the REX via the reset button on the back.  The REX and memo appear fine after resetting.