In this video we look at the REM and the DIM statement in BBC BASIC... RESOURCES: github.com/colinhoad/cosmic-i...
Пікірлер: 9
@limpfishyes3 жыл бұрын
Just catching up with these, brings back memories of my early teens spending warm summer days indoors trying to write a version of Bomb Jack in BBC Basic
@ColinHoad3 жыл бұрын
I spent plenty of sunny days indoors in a similar fashion when I was growing up... and probably still do 😅
@8-bitsteve5003 жыл бұрын
Great stuff!!
@ColinHoad3 жыл бұрын
Ah, thanks Steve! I wasn't sure if these videos would find favour with my regular viewers of the games review series, really pleased to see you're finding them interesting as well 😄
@YesiPleb2 жыл бұрын
Not long found your channel - slight error in your explanation. The % after a variable name just means integer variable as, by default, a variable that holds a number would be a floating point variable. The reason behind specifying integer variables is because it's slightly faster than floating point and in something like a game speed is essential. Also, there's a second way to use REM and that's with a star command: *| which in mode 7 appears as *||
@ColinHoad2 жыл бұрын
Thanks, those are both very helpful corrections / extensions on what I covered 😀
@YesiPleb2 жыл бұрын
@@ColinHoad Just bear in mind that REM can be tokenised to one character whereas *| will be two characters so if one is running out of memory, REM would be the better option.
@WistrelChianti3 жыл бұрын
I didn't think REM did anything either... and then I saw submissions to BBCmicrobot that drew planets with one REM statement and one CALL PAGE+5 statement (or something like that). But yes in BASIC at least they don't do anything :D
@ColinHoad3 жыл бұрын
I've not seen REM used for generating planets before! 😄 Will have to check out the bbcmicrobot archives...