From 824237ecf5da8ce3c74950941d36f492145d2b5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?flying=20satin=20=E7=BC=8E=E5=AD=90=E9=A3=9E?= <74444486+Sherlockcxk@users.noreply.github.com> Date: Wed, 30 Jun 2021 08:58:40 -0700 Subject: [PATCH] Update doc.md --- doc.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc.md b/doc.md index 7ce53bc..053c4b6 100644 --- a/doc.md +++ b/doc.md @@ -33,6 +33,7 @@ Never gonna give you up, never gonna let you down~ ``` ## Defining Variable +You can define int, float, string, list/array, set, and tuple. ``` give_u_up a = 10~ give_u_up b = "It is a string" @@ -41,6 +42,7 @@ give_u_up c = ["This", "is", "an", "array"] ``` ## If Statement +Indentation in RickRoll-lang is optional. ``` take_me_to_ur_heart~ # You can add "~" at the end of the statement (it is totally optional) give_u_up a = 10 @@ -68,7 +70,7 @@ And you will get this on your terminal ## Loop ``` take_me_to_ur_heart - together_forever_we_two # Endless loop + together_forever_and_never_to_part # Endless loop say_good_bye