AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages! You are not logged in. Login here for full access privileges. |
Previous Message | Next Message | Back to BBS Support/Help/Discussion <-- <--- | Return to Home Page |
|
||||||
From | To | Subject | Date/Time | |||
Sean Dennis | Bill McGarrity | Fixing the nodelist script |
April 8, 2017 2:50 AM * |
|||
Hello Bill, 07 Apr 17 22:35 at you wrote to me: BM> Spent a few sleepless nights on this one.. lol!! I decided to cheat and change the program to output the day of the year as an error code: === Begin code === Program DOY; Uses CRT, Sysutils, Dateutils; Var Day : Word; Begin Day := DayOfTheYear(Today); WriteLn('Today is day #' + IntToStr(Day)); Halt(Day); End. === End code === It's a cheap trick, but it works wonders. In bash, you can use $? to grab the error code: #!/bin/bash ./doy echo "Day #$?" Kinda backwards using bash but proof-of-concept for use under Windows in a way... Later, Sean --- GoldED+/LNX 1.1.5-b20160322 * Origin: Outpost BBS * Limestone, TN, USA (618:618/1) |
||||||
|
Previous Message | Next Message | Back to BBS Support/Help/Discussion <-- <--- | Return to Home Page |
Execution Time: 0.0142 seconds If you experience any problems with this website or need help, contact the webmaster. VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved. Virtual Advanced Copyright © 1995-1997 Roland De Graaf. |