Discussion

The ANIM keyword

2

Benimo12 2022-01-29 02:04

I was scrolling through the manual recently and I saw the ANIM keyword is reserved. I’m curious, if you add it, what are your plans for it? How exactly could it work?


McPepic 2022-01-29 02:24

I'm not associated with Timo (the creator of LowRes NX), but I can answer this.

The reserved keywords section at the bottom of the manual is so that you don't make any variables/subprograms with already used names (otherwise, the program wouldn't know what to do).

However, Timo has stated that he is no longer updating the program. So even though ANIM is listed as a keyword & cannot be used in your code, it won't be added in the future.


Benimo12 2022-01-29 07:46

Oh… thanks


Timo 2022-01-29 11:03

McPepic is right. Anyway, here is a list of unused keywords and what ideas I had:

ANIM

Set a list of characters to animate a sprite automatically.

FLASH

Set a list of color values to animate a palette index automatically.

DECLARE
DEF
FN
FUNCTION

These are keywords used in other BASIC dialects to define functions. The difference between a function and a SUB is, that a function could return a value and could be used directly like a parameter.

SHARED
STATIC

Different ways to define how variables inside a SUB work. But in the end I decided that GLOBAL was enough for all cases.

LBOUND

Lower bound of an array, opposite of UBOUND (upper bound). But it's always 0 in LowRes NX anyway.

OPEN
CLOSE
OUTPUT
WRITE

I was thinking about different ways of saving data (or a serial connection...), but in the end only implemented the simple LOAD and SAVE commands.

TEMPO

Change the tempo of music. That would actually be cool and cannot be done easily in another way now.

VOICE

In the end I decided for the PLAY command.


G-9 2022-01-30 17:26

DECLARE,
DEF,
FN,
FUNCTION,
SHARED and
STATIC

aha they just look pretty cool
but as you are no longer updating the app, are you gonna delete these reserved keywords?


Timo 2022-02-02 08:16

To delete keywords I would have to update the app ;)
So no, not planned.


LVXKING667 2022-02-15 18:09

I know you’re not updating the app anymore, but, weird problem, only when using my wireless Bluetooth keyboard while using the INPUT key n and m will not type in program?!


Benimo12 2022-02-15 18:51

That’s because N&M are action keys/Buttons and will only respond as such. It will still respond normally if you have a touchscreen though


Log in to reply.