Sep. 1st, 2007
Fear my elite geek skills...
Sep. 1st, 2007 11:36 amAs we speak,
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
![[livejournal.com profile]](https://www.dreamwidth.org/img/external/lj-userinfo.gif)
::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