From abbc4f600e5ea6318f3f329603299917a6e242af Mon Sep 17 00:00:00 2001 From: Larry Xue Date: Tue, 25 Aug 2020 15:37:31 -0400 Subject: [PATCH] forgot switch exists --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index afffdb6..1845cd2 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ See [include/builtins.h](./include/builtins.h) for API definitions and [examples # Supported Features - all Mindustry instructions as of BE 9420 -- all C control flow structures except goto +- all C control flow structures except goto and switch - functions - local/global variables @@ -50,4 +50,5 @@ See [include/builtins.h](./include/builtins.h) for API definitions and [examples - block scoped variables - just use locals - typedefs - use macros - pointers - don't use them +- switch - use if-else chains - goto - don't use it