This language bar is your friend. Select your favorite languages!
Select your favorite languages :
- Or search :
- Ada
- C
- Caml
- Clojure
- Cobol
- C++
- C#
- D
- D
- Dart
- Elixir
- Elixir
- Erlang
- Fortran
- Go
- Groovy
- Haskell
- JS
- JS
- JS
- Java
- Java
- Kotlin
- Lisp
- Lisp
- Lisp
- Lua
- Lua
- Obj-C
- PHP
- PHP
- PHP
- Pascal
- Perl
- Perl
- Prolog
- Prolog
- Python
- Python
- Ruby
- Rust
- Scala
- Scheme
- Smalltalk
- VB
console.log('Hello World')
"... The console object provides access to the debugging console".
There is also `info`, `warn`, `error`, `debug`, etc.
There is also `info`, `warn`, `error`, `debug`, etc.
Transcript cr; show: 'Hello World!'
The Transcript is a standard-output-like object in the Smalltalk environment.
FYI; In classic Smalltalk, message cr alone does not output line breaks (it requires followed by an endEntry message i.e. Transcirpt cr ; entEntry.), so there was a convention to output a line break firstly then output the text by using show: method in which includes the endEntry process. Hence the cr message is sending firstly in the idiom.
FYI; In classic Smalltalk, message cr alone does not output line breaks (it requires followed by an endEntry message i.e. Transcirpt cr ; entEntry.), so there was a convention to output a line break firstly then output the text by using show: method in which includes the endEntry process. Hence the cr message is sending firstly in the idiom.