Simpler Datenum
#7
(05-05-2022, 02:10 PM)doppler Wrote: No Pete you are right.  I said F' leap years.  Every year is a leap year.  Since I was only using it as a Record # pointer.  My way (always a leap year.) I can compare or evaluate year over year records.  With out adjust the record number for leap years.

I only used case to simplify it for the general beginner.  I remember the old days of squeezing out bytes and cycles in assembler. Cycles+(conditional cycles)*(1/freq).  And hope to god, the byte count was not more than the 2K sometimes 1K eprom.

LOL @F Leap Years. You know me, of all people, I saw that REM statement and thought the "F" stood for "For" Shame on me, I should F'n know better! Also, for a BEGINNER, yes, I totally agree. The SELECT CASE CODE is soooooo much easier to wrap the brain around than parsing a data string. The coolest thing about coding is there are so many roads to our destinations. We just have to be there to help those coders traveling them in the wrong direction. Reminds me of that joke, There's the high road and the low road. I like to take the high one, because there's less traffic.

Oh, and I tried some assembly, back in the day, too; but I'd usually finish the aspirin before I'd finish most projects. Yeah, push this ! Now if you will excuse me, I have to go install a Windows f'update.

Pete
Reply


Messages In This Thread
Simpler Datenum - by doppler - 05-04-2022, 04:43 PM
RE: Simpler Datenum - by Pete - 05-04-2022, 05:38 PM
RE: Simpler Datenum - by Pete - 05-04-2022, 07:10 PM
RE: Simpler Datenum - by dcromley - 05-05-2022, 04:49 AM
RE: Simpler Datenum - by Pete - 05-05-2022, 05:35 AM
RE: Simpler Datenum - by doppler - 05-05-2022, 02:10 PM
RE: Simpler Datenum - by Pete - 05-05-2022, 02:22 PM
RE: Simpler Datenum - by euklides - 05-07-2022, 07:59 AM
RE: Simpler Datenum - by doppler - 05-07-2022, 01:27 PM
RE: Simpler Datenum - by euklides - 05-08-2022, 11:59 AM



Users browsing this thread: 4 Guest(s)