GNU Smalltalk: read from stdin & write to stdout

" This is a comment" | name | Transcript show: 'Enter your name: ' . name := stdin nextLine . Transcript show: ('Hello, ' , name, '!'); cr

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.