programming:smilebasic:api_reference
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
programming:smilebasic:api_reference [2024-08-09 02:45] – Fill in comparison operators zlg | programming:smilebasic:api_reference [2024-08-09 03:11] (current) – [Value Ranges] remove redundancy zlg | ||
---|---|---|---|
Line 63: | Line 63: | ||
These same operators can be used stand-alone in expressions to generate boolean values, which are typically '' | These same operators can be used stand-alone in expressions to generate boolean values, which are typically '' | ||
+ | |||
+ | ==== Logical ==== | ||
+ | |||
+ | Logical operators are often combined with expressions that contain comparison operators in order to make meaningful decisions in the program. This means most " | ||
+ | |||
+ | < | ||
+ | Solution = Logical operations of expressions, | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | If you can abstract a problem into this framework, you are mastering logical operators. | ||
+ | |||
+ | * ''&&'' | ||
+ | * '' | ||
+ | |||
+ | The more legible '' | ||
===== Logic and Control Flow ===== | ===== Logic and Control Flow ===== | ||
Line 125: | Line 142: | ||
| Z | -256-1024 | | | Z | -256-1024 | | ||
- | The Z axis is remembered from the last LOCATE call if not specified, and defaults to 0. | + | The Z axis defaults to 0. |
Any missing axes from a LOCATE call will be filled in with the last value used for that axis. All axes default to 0 if LOCATE is called after a CLEAR. | Any missing axes from a LOCATE call will be filled in with the last value used for that axis. All axes default to 0 if LOCATE is called after a CLEAR. |
programming/smilebasic/api_reference.1723171523.txt.gz · Last modified: 2024-08-09 02:45 by zlg