Sep. 1st, 2007

ravencallscrows: (mountaingoat)
As we speak, [livejournal.com profile] darkmuffin is sitting in the other room, tinkering with 30 year old BASIC programs. Last weekend, he found an ancient book at a thrift store, and he's been learning a bit about programming since then. So, i found a BASIC interpreter/compiler, and he's now happily geeking out. We've talked about for/next loops, program flow control, validating data... and he's now talking about retrofitting these ancient bits of code so that he can validate the inputs and insult himself if he puts in values out of range, a la:
::Enter a number between 1 and 6
:::7
::You idiot! I said between 1 and 6. Do you not know what the word 'between' means?
::Enter a number between 1 and 6

Profile

ravencallscrows: (Default)
Vanya Y Tucherov

January 2025

S M T W T F S
   1234
567891011
12131415 161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 5th, 2025 05:56 am
Powered by Dreamwidth Studios