It would be even cooler on a TRS80 M100. At the moment I understood only a little bit of what you said. Which is why I'm trying to secure some sort of learning aid, commonly known in old days as book! :-) As to whether the organic storage medium is still working, I suspect it's developed a few bad sectors over the years, I blame beer! But it's still fairly operational, well almost...
On Mon, 6 Jan 2020, 11:50 pm John R. Hogerhuis, <[email protected]> wrote: > > > On Mon, Jan 6, 2020 at 3:37 PM James Zeun <[email protected]> wrote: > >> So I know bog all about programming. But part of me wouldn't mind >> dabbling a little bit on my M100. >> Someone once said the best way to program, is to have a project in mind. >> >> For me it would a Dungeons & Dragons Dice roller. Select which dice, D4, >> D6, D20 ect, number of dice and the let it roll. Maybe even with graphical >> output. >> >> > Good first project. My recommendation would be, since it works so fast, to > roll them all with each hit of the enter key. Then the user can decide at > a glance which values he cares about for the roll. > > And it's less fiddly since the user doesn't need to do anything except hit > the any key to roll. > > Another way would be to INKEY$ poll for two numbers. One for the > repetition and the second for the # sides. > > 4, 6, 2 for 4, 6 and 20. > > Or you could just use the standard specifiers like 2d20<enter> and parse > it. > > I just noticed you can do this in Google. If you type 5d6 into your search > bar it rolls 5 6-sided dice. Very cool! > > -- John. >
