BRL.StandardIO: | Globals | Functions | Modinfo | Source |
Global StandardIOStream:TStream | |
Description | BlitzMax Stream object used for Print and Input. |
Information | The Print and Input commands can be redirected by setting the StandardIOStream Global to an alternative Stream Object. |
Function Input$( prompt$=">" ) | |
Description | Receive a line of text from the standard IO stream. |
Information | The optional prompt is displayed before input is returned. |
Example | Rem Use the Input command to read user input from the console to a BlitzMax String. End Rem name$=Input("What is your name") print "Hello "+name |
Function Print( str$="" ) | |
Description | Write a string to the standard IO stream. |
Information | A newline character is also written after str. |
Example | Rem Use the Print command to output BlitzMax strings to the Console window. End Rem Print "Hello World" |
Version | 1.05 |
---|---|
Author | Mark Sibly |
License | Blitz Shared Source Code |
Copyright | Blitz Research Ltd |
Modserver | BRL |
History | 1.05 Release |
History | 1.04 Release |
History | CStandardIO now goes through a UTF8 textstream |