$cons
->Write(string
)
- Writes string on the console, using the current attribute, which you can set with
Attr
, and advancing the cursor as needed. This isn't so different from Perl's print
statement. Returns the number of characters written, or undef
on error.