forked from blitz-research/monkey
-
Notifications
You must be signed in to change notification settings - Fork 1
Module monkey.lang
Leonard Thieu edited this page Aug 23, 2019
·
2 revisions
The lang module contains classes and functions built-in to the monkey language.
DebugLog : Int ( message:String )
DebugStop : Int ()
Error : Int ( message:String )
Print : Int ( message:String )
The lang module contains classes and functions built-in to the monkey language.
Writes message to the current debug channel.
Function DebugStop : Int ()
Stops program execution.
Generates a runtime error message and ends program execution.
If message is an empty string, program execution will end but no runtime error message with be generated.
Prints message to the current output channel.
The behavior of Print is target dependant. In general, monkey will attempt to print to the 'stdout' output channel, but on some targets this is not always an option.
- Home
- Tutorials
- Samples
- API Reference
- Programming
- Target SDKs
- Tools
- Links
- Credits