From ee23ac05371544216dfdd724ab9428c2c1f949e3 Mon Sep 17 00:00:00 2001 From: meisl Date: Fri, 7 May 2021 15:28:22 +0200 Subject: [PATCH] * docs: fix typo --- README.md | 2 +- docs/source/index.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7efb2db28..d51b1cfc5 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ What does Prog8 provide? - modularity, symbol scoping, subroutines - various data types other than just bytes (16-bit words, floats, strings) - floating point math is supported if the target system provides floating point library routines (C64 and Cx16 both do) -- strings can contain excaped characters but also many symbols directly if they have a petscii equivalent, such as "♠♥♣♦π▚●○╳". Characters like ^, _, \, {, } and | are also accepted and converted to the closest petscii equivalents. +- strings can contain escaped characters but also many symbols directly if they have a petscii equivalent, such as "♠♥♣♦π▚●○╳". Characters like ^, _, \, {, } and | are also accepted and converted to the closest petscii equivalents. - automatic static variable allocations, automatic string and array variables and string sharing - subroutines with input parameters and result values - high-level program optimizations diff --git a/docs/source/index.rst b/docs/source/index.rst index ec4c2af5f..d0755517e 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -57,7 +57,7 @@ Language features - Nested subroutines can access variables from outer scopes to avoids the overhead to pass everything via parameters - Variable data types include signed and unsigned bytes and words, arrays, strings. - Floating point math also supported if the target system provides floating point library routines (C64 and Cx16 both do). -- Strings can contain excaped characters but also many symbols directly if they have a petscii equivalent, such as "♠♥♣♦π▚●○╳". Characters like ^, _, \\, {, } and | are also accepted and converted to the closest petscii equivalents. +- Strings can contain escaped characters but also many symbols directly if they have a petscii equivalent, such as "♠♥♣♦π▚●○╳". Characters like ^, _, \\, {, } and | are also accepted and converted to the closest petscii equivalents. - High-level code optimizations, such as const-folding, expression and statement simplifications/rewriting. - Many built-in functions, such as ``sin``, ``cos``, ``rnd``, ``abs``, ``min``, ``max``, ``sqrt``, ``msb``, ``rol``, ``ror``, ``swap``, ``sort`` and ``reverse`` - Programs can be run multiple times without reloading because of automatic variable (re)initializations.