scope: refuse `&x` where x is a local variable
[nit.git] / examples / rosettacode / tape.nit
1 #!/usr/bin/env nit
2 #
3 # This file is part of NIT ( http://www.nitlanguage.org ).
4 # This program is public domain
5
6 # Task: Create_a_file_on_magnetic_tape
7 # SEE: <http://rosettacode.org/wiki/Create_a_file_on_magnetic_tape>
8 module tape
9
10 "Hello, World!".write_to_file("/dev/tape")