From 05e60cc7c06effa8299c90f154cc7dc5f97f6285 Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Sat, 29 Oct 2022 12:57:33 +0200 Subject: [PATCH] fix array type typo --- docs/source/programming.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/programming.rst b/docs/source/programming.rst index c7525302e..b1576ed45 100644 --- a/docs/source/programming.rst +++ b/docs/source/programming.rst @@ -286,7 +286,7 @@ Here are some examples of arrays:: byte[10] array ; array of 10 bytes, initially set to 0 byte[] array = [1, 2, 3, 4] ; initialize the array, size taken from value - byte[99] array = 255 ; initialize array with 99 times 255 [255, 255, 255, 255, ...] + ubyte[99] array = 255 ; initialize array with 99 times 255 [255, 255, 255, 255, ...] byte[] array = 100 to 199 ; initialize array with [100, 101, ..., 198, 199] str[] names = ["ally", "pete"] ; array of string pointers/addresses (equivalent to uword) uword[] others = [names, array] ; array of pointers/addresses to other arrays