Documentation for routine note
assembled from the following pages:
Language documentation: Independent routines §
From Independent routines
(Independent routines) routine note §
Defined as:
method note(Mu: -->Bool)multi sub note( --> Bool)multi sub note(Str --> Bool)multi sub note(** --> Bool)
Like say
(in the sense it will invoke the .gist
method of the printed object), except it prints output to $*ERR
handle (STDERR
). If no arguments are given to subroutine forms, will use string "Noted"
.
note; # STDERR OUTPUT: «Noted» note 'foo'; # STDERR OUTPUT: «foo» note 1..*; # STDERR OUTPUT: «1..Inf»
This command will also autothread on Junction
s, and is guaranteed to call gist
on the object if it's a subclass of Str
.