public inbox for ~johnnyrichard/olang-devel@lists.sr.ht
 help / color / mirror / code / Atom feed
From: Johnny Richard <johnny@johnnyrichard.com>
To: ~johnnyrichard/olang-devel@lists.sr.ht
Cc: Johnny Richard <johnny@johnnyrichard.com>
Subject: [PATCH olang v1] docs: info: add while-loop to getting started
Date: Wed,  9 Oct 2024 16:53:45 +0200	[thread overview]
Message-ID: <20241009145402.318542-1-johnny@johnnyrichard.com> (raw)

Signed-off-by: Johnny Richard <johnny@johnnyrichard.com>
---
 docs/info/getting-started.texi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/docs/info/getting-started.texi b/docs/info/getting-started.texi
index a68f5b1..4cb2e26 100644
--- a/docs/info/getting-started.texi
+++ b/docs/info/getting-started.texi
@@ -78,6 +78,14 @@ if expr {
 }
 @end verbatim
 
+While loop
+
+@verbatim
+while expr {
+  # statement
+}
+@end verbatim
+
 @section Primitive data types
 
 @table @samp

base-commit: 02149b6ddd0bfc6f4e4774eb928e41031889cd73
-- 
2.46.0


             reply	other threads:[~2024-10-09 12:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-09 14:53 Johnny Richard [this message]
2024-10-09 12:54 ` [olang/patches/.build.yml] build success builds.sr.ht
2024-10-09 22:20 ` [PATCH olang] fixup! docs: info: add while-loop to getting started Carlos Maniero
2024-10-16 21:44   ` Johnny Richard
2024-10-16 19:52 ` [PATCH olang v1] " Carlos Maniero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241009145402.318542-1-johnny@johnnyrichard.com \
    --to=johnny@johnnyrichard.com \
    --cc=~johnnyrichard/olang-devel@lists.sr.ht \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.johnnyrichard.com/olang.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox