Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #53710 > unrolled thread

:Re: Looping over array.

Started by"Robert L." <No_spamming@noWhere_7073.org>
First post2017-01-03 17:35 +0000
Last post2017-01-03 17:35 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.forth


Contents

  :Re: Looping over array. "Robert L." <No_spamming@noWhere_7073.org> - 2017-01-03 17:35 +0000

#53710 — :Re: Looping over array.

From"Robert L." <No_spamming@noWhere_7073.org>
Date2017-01-03 17:35 +0000
Subject:Re: Looping over array.
Message-ID<o4gncg$p2i$1@gioia.aioe.org>
> CL-USER 5 > (loop for c across "Hello World!"
>                   when (char= #\l c) count 1)
> 3

Ruby:

"Hello World!".count "l"
    ==>3

In Forth?

-- 
"A Jew always has a much higher soul than a gentile, even if he is a
homosexual," he [Israel's Deputy Defense Minister Eli Ben-Dahan] said.
theoccidentalobserver.net/2015/10/israeli-minister-latest-in-long-line-of-jews-asserting-the-inferiority-of-non-jews

[toc] | [standalone]


Back to top | Article view | comp.lang.forth


csiph-web