Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikibooksThe Free Textbook Project
Search

Rebol Programming/new-line

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

USAGE:

[edit |edit source]
NEW-LINE block value /all /skip size

DESCRIPTION:

[edit |edit source]

Sets or clears the new-line marker within a block.

NEW-LINE is a native value.

ARGUMENTS:

[edit |edit source]
  • block -- Position in block to change marker (Type: block)
  • value -- Set TRUE for newline. (Type: any)

REFINEMENTS:

[edit |edit source]
  • /all -- Set/clear marker to end of block
  • /skip -- Set/clear marker periodically to the end of the block
    • size -- (Type: integer)

SOURCE CODE

[edit |edit source]
new-line: native[    "Sets or clears the new-line marker within a block."     block [block!] "Position in block to change marker"     value "Set TRUE for newline."     /all "Set/clear marker to end of block"     /skip {Set/clear marker periodically to the end of the block}     size [integer!]]

EXAMPLE

[edit |edit source]
>> a: [ 1 2]== [1 2]>> new-line a true== [    1 2]>> new-line/all a true== [    1    2]>> new-line/all a false== [1 2]
Retrieved from "https://en.wikibooks.org/w/index.php?title=Rebol_Programming/new-line&oldid=3352904"
Category:

[8]ページ先頭

©2009-2025 Movatter.jp