Skip to content

Conversation

@billkendrick
Copy link
Contributor

Some clarification on RAND() and RND(), plus a pair of demo programs that use them.
Clarification about WORD vs BYTE values in arrays.
Notice that GET cannot read all keys on the Atari, with hints on how some may be read via PEEK.
Some formatting corrections.

Note that RAND(N) returns an integer number between 0 and N-1.
Add "see also" notes to RAND() and RND(), to point to each other.

Reminder of allow values in WORD vs BYTE arrays, and point out signed-ness.

Explain that GET does not read certain keys (Start/Select/Option,
Break/Reset, or Shift/Control on their own).  Provide hints (memory
locations to PEEK) to check the status of some of them (may be out
of scope; perhaps FastBasic could add functions to test these?!)

Also, some formatting corrections
 * Remove an extra blank in in "Hello [EOL] World" example output.
 * Make sure "EXEC" example appears correctly ("@**" at the end
   did something unexpected in Markdown)
@dmsc
Copy link
Owner

dmsc commented Jan 11, 2025

Hi!

I merged the changes to the manual. I did not merge the samples as I want the samples to be complete programs, not simple demos.

Perhaps we could create another section of "learning examples" to include simpler programs to illustrate the functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants