Yurttas/PL/SL/ruby/F/02/07/02/m 01.rb

 1#
 2#  Copyright(C) 2008
 3#  All Rights Reserved. Salih Yurttas, ZCubes, BitsOfCode Software Systems, Inc..
 4#
 5#  Permission to use, copy, modify, and distribute this
 6#  software and its documentation for EDUCATIONAL purposes
 7#  and without fee is hereby granted provided that this
 8#  copyright notice appears in all copies.
 9#
10#  date   : June 1, 2008.
11#  authorĀ : Salih Yurttas. Jackson Booth.
12#
13#  m_01.rb
14#
15
16print "argc = #{ARGV.size}\n"
17
18j = 0
19
20for i in ARGV
21  print "argv[#{j}] = #{i}\n"
22  j += 1
23end