arrow_circle_left arrow_circle_up arrow_circle_right
The Banter Page
help
If you're wanting to get something off your chest, make general comments about the server, or post lonely hearts ads, then this is the place for you.
arrow_circle_up
[nights] Not 'round our bloody way, it isn't! It's all melted, and it's now raining!
Steam-age computers
(Breadmaster, Darren) Yep, happy days. I always thought POKE a bit rude and if you POKEd the wrong number in it all crashed. (nights, Uncle K) Up here on the Downs at Warlingham, aka Little Siberia, the houses are groaning under the weight of a good inch of snow. We were told to expect 10-15 centimetres (whatever they are) and more on hills (i.e. here). As someone who used to be in the business all I can say is that the forecast was hysterical.
[uncle k] so where are you then?
[nights] I'm currently slaving away in my office in Barking.
[Rosie] BBC BASIC didn't have POKE, per se. It had other indirection operators, $, ? and !, which allowed memory to used rather like variables. For example, ?A=B would be the same as POKE A,B; and A=?B would be the same as A=PEEK(B). ! allowed 32-bit access rather than the 8-bit access provided by ?, and $ allowed string peeks/pokes. Furthermore, you could combine each operator with an offset, so A?2=B?4 would be equivalent to POKE A+2,PEEK(B+4) in other versions of BASIC. Although ? was arguably less clear than PEEK, ! and $ made memory access a lot clearer if you were dealing with larger data than single bytes. It also let you do some tricks which seemed mystifying to the uninitiated, such as CALL !-4 which would have the same effect as pressing the BREAK key!
arrow_circle_down
Want to play? Online Crescenteering lives on at Discord