Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikibooksThe Free Textbook Project
Search

Rebol Programming/case

From Wikibooks, open books for an open world
<Rebol Programming
This page may need to bereviewed for quality.

USAGE:

[edit |edit source]
CASE block /all

DESCRIPTION:

[edit |edit source]

Evaluates each condition, and when true, evaluates what follows it.

CASE is a native value.

ARGUMENTS

[edit |edit source]
  • block -- Block of cases (conditions followed by values) (Type: block)

REFINEMENTS

[edit |edit source]
  • /all -- Evaluate all cases (do not stop at first true case)

SOURCE CODE

[edit |edit source]
case: native[    {Evaluates each condition, and when true, evaluates what follows it.}     block [block!] "Block of cases (conditions followed by values)"     /all {Evaluate all cases (do not stop at first true case)}]
Retrieved from "https://en.wikibooks.org/w/index.php?title=Rebol_Programming/case&oldid=3352638"
Category:

[8]ページ先頭

©2009-2025 Movatter.jp