Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Rebol Programming/new-line

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

USAGE: NEW-LINE block value /all /skip size DESCRIPTION: Sets or clears the new-line marker within a block. NEW-LINE is a native value. ARGUMENTS: block -- Position in block to change marker (Type: block) value -- Set TRUE for newline. (Type: any) REFINEMENTS: /all -- Set/clear marker to end of block /skip -- Set/clear marker periodically to the end of the block size -- (Type: integer) SOURCE CODE 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 >> 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]