| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | OddBall code... |
> D% = DOY(DATE$) 'Gets the current day
> E% = D% / 7 'Calculates the week number
E% = D% \ 7 ' would be milliseconds faster, and would
' eliminate the need for this statement:
> F% = ABS(E%) 'We don't want decimal places
Having said that, I'm not certain that the above statement is necessary in
the first place. Assigning E% to an integer variable should kill any decimal
places anyway.
--- Msgedsq 2.2e
---------------
* Origin: THE BIG ELECTRIC CAT Melville Sask *SDS* *PDN* (1:140/53) |
|
| SOURCE: echomail via exec-pc | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.