From a7b28ed31def8e96a8d74ac047aae652ee214085 Mon Sep 17 00:00:00 2001 From: Marrub Date: Thu, 8 Feb 2018 14:54:48 +0000 Subject: [PATCH] --- zscript-doc.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/zscript-doc.md b/zscript-doc.md index f983035..7bcbdfa 100644 --- a/zscript-doc.md +++ b/zscript-doc.md @@ -325,7 +325,21 @@ const MyCoolInt = int(777.7777); Static array definitions ========================= -TODO +Similar to constants, static arrays are named values, but for an array. They are created with the syntax: + +``` +static const Type name[] = { + [Expression list...] +}; +``` + +Or: + +``` +static const Type[] name = { + [Expression list...] +}; +``` Include directives ==================