From 96ef605d42def4e9918c71ee615b231acc2483d9 Mon Sep 17 00:00:00 2001 From: Sumangal44 <123644743+Sumangal44@users.noreply.github.com> Date: Sat, 18 May 2024 07:19:28 +0530 Subject: [PATCH] update nim.md --- source/_posts/nim.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/source/_posts/nim.md b/source/_posts/nim.md index 7586dc0..95abf63 100644 --- a/source/_posts/nim.md +++ b/source/_posts/nim.md @@ -11,7 +11,8 @@ plugins: - copyCode --- -## Getting Started +Getting Started +---------- ### Helloworld.nim @@ -98,7 +99,9 @@ const compileBadCode = false ``` - +Basic data types +----------------- + ### Integers @@ -239,7 +242,8 @@ echo "q is still: ", q #p is still: abcdef #q is still: xyz ``` - +Opatators +------------ ### Relational operators ```nim @@ -321,7 +325,8 @@ echo "not F: ", not false #not F: true ``` - +Control flow +-------------- ### If statement ```nim