<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,6 +1,6 @@
 #!/usr/bin/env io
 
-recCount := if(args at(1), args at(1) asNumber, 50000)
+recCount := if(System args at(1), System args at(1) asNumber, 50000)
 
 c := DBI with(&quot;sqlite3&quot;)
 c optionPut(&quot;dbname&quot;, &quot;test.db&quot;)</diff>
      <filename>addons/DBI/samples/benchmark.io</filename>
    </modified>
    <modified>
      <diff>@@ -105,7 +105,7 @@ Slideshow := GLApp clone do(
     specialDownKey := method(slideNumber = (slideNumber + 1) min(slides size - 1))
 )
 
-//Slideshow open(if(args size &gt; 0, args at(1), &quot;slides.txt&quot;))
+//Slideshow open(if(System args size &gt; 0, System args at(1), &quot;slides.txt&quot;))
 path := Path with(launchPath, &quot;slides.txt&quot;)
 Slideshow open(path)
 </diff>
      <filename>addons/Flux/samples/Slideshow/main.io</filename>
    </modified>
    <modified>
      <diff>@@ -104,4 +104,4 @@ Slideshow := GLApp clone do(
     specialDownKey := method(slideNumber = ((slideNumber + 1) min(slides size - 1)))
 )
 
-Slideshow open(args at(0))
+Slideshow open(System args at(0))</diff>
      <filename>addons/Font/samples/slides.io</filename>
    </modified>
    <modified>
      <diff>@@ -3,6 +3,7 @@
 
 App := Object clone do(
 	display := method(
+		args := System args
 		e := try(
 			inFile  := args at(0)
 			outFile := args at(1)</diff>
      <filename>addons/Image/samples/scale.io</filename>
    </modified>
    <modified>
      <diff>@@ -49,7 +49,7 @@ Fasta := Object clone do(
     )
 )
 
-n := args at(1) asNumber
+n := System args at(1) asNumber
 
 &quot;&gt;ONE Homo sapiens alu&quot; println
 Fasta repeat(2*n, ALU)</diff>
      <filename>addons/Loki/samples/shootout/fasta.io</filename>
    </modified>
    <modified>
      <diff>@@ -25,7 +25,7 @@ sieve := Object clone do(
     )
 )
 
-n := args at(1) asNumber
+n := System args at(1) asNumber
 sieve show(10000 shiftLeft(n))
 sieve show(10000 shiftLeft(n-1))
 sieve show(10000 shiftLeft(n-2))</diff>
      <filename>addons/Loki/samples/shootout/nsieve-bits.io</filename>
    </modified>
    <modified>
      <diff>@@ -26,7 +26,7 @@ nsieve := method(n,
 	writeln(&quot;Primes up to&quot;, n asString alignRight(9, &quot; &quot;), cnt asString alignRight(9, &quot; &quot;))
 )
 
-n := args at(1) asNumber
+n := System args at(1) asNumber
 nsieve( (2^n)*10000 )
 nsieve( (2^(n-1))*10000 )
 nsieve( (2^(n-2))*10000 )</diff>
      <filename>addons/Loki/samples/shootout/nsieve.io</filename>
    </modified>
    <modified>
      <diff>@@ -31,7 +31,7 @@ Object clone do(
 	)
 	
 	clk := chrono(
-	//n := args at(1) asNumber
+	//n := System args at(1) asNumber
 	nsieve( (2**(n))*10000 )
 	nsieve( (2**(n-1))*10000 )
 	nsieve( (2**(n-2))*10000 )
@@ -39,4 +39,4 @@ Object clone do(
 
 	&quot;#{clk / (2* (10 **(9)))} sec&quot; interpolate println
 )
-&quot;ok.&quot;
\ No newline at end of file
+&quot;ok.&quot;</diff>
      <filename>addons/Loki/samples/shootout/old_nsieve.io</filename>
    </modified>
    <modified>
      <diff>@@ -13,12 +13,12 @@ File md5String := method(
 	digest md5String
 )
 
-if (?args == nil or args size == 0,
+if (System ?args == nil or System args size == 0,
 	write(&quot;requires a file name as an argument\n&quot;)
 	exit
 )
 
-f := File clone setPath(args at(0))
+f := File clone setPath(System args at(0))
 m1 := f md5String
 m2 := f asBuffer md5String
 write(&quot;md5 = &quot;, m1, &quot;\n&quot;)</diff>
      <filename>addons/MD5/samples/md5.io</filename>
    </modified>
    <modified>
      <diff>@@ -123,8 +123,8 @@ GameClient update := method(id, x, y, angle,
 ServerConnection := Object clone
 ServerConnection setDelegate := method(d, self delegate := d; self)
 ServerConnection setup := method(
-  ip := if(args at(0), args at(0), &quot;67.118.104.220&quot;)
-  port := if(args at(1), args at(1), 8888)
+  ip := if(System args at(0), System args at(0), &quot;67.118.104.220&quot;)
+  port := if(System args at(1), System args at(1), 8888)
   self socket := Socket clone setHost(ip) setPort(port) connect 
   if (socket == nil, write(&quot;Unable to connect to &quot;, ip, &quot; on port &quot;, port, &quot;\n&quot;); exit)
 )</diff>
      <filename>addons/OpenGL/samples/game/client.io</filename>
    </modified>
    <modified>
      <diff>@@ -30,7 +30,7 @@ GoogleSearch := Object clone do(
     )
 )
 
-GoogleSearch clone find(args at(1)) links foreach(println)
+GoogleSearch clone find(System args at(1)) links foreach(println)
 
 while(Coroutine yieldingCoros size &gt; 1, yield)
 </diff>
      <filename>addons/Socket/samples/Google.io</filename>
    </modified>
    <modified>
      <diff>@@ -4,8 +4,8 @@
 // ./ioServer Sockets/_tests/WebDownload.io http://64.236.34.161:80/stream/1018 GrooveSalad.mp3
 
 //doFile(launchPath .. &quot;/URL.io&quot;)
-url := args at(0)
-fileName := args at(1)
+url := System args at(0)
+fileName := System args at(1)
 
 //DNSResolver addServerAddress(&quot;128.105.2.10&quot;) 
 </diff>
      <filename>addons/Socket/samples/WebDownload.io</filename>
    </modified>
    <modified>
      <diff>@@ -4,7 +4,7 @@
 SocketManager setSelectTimeout(0.0)
 Scheduler setSleepInterval(0)
 
-requestCount := if(args at(0), args at(0) asNumber, 10000) 
+requestCount := if(System args at(0), System args at(0) asNumber, 10000)
 
 t1 := Date clone now
 lastChunkTime := Date clone now</diff>
      <filename>addons/Socket/samples/WebServer/test.io</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 #!/usr/bin/env io
 
 /*
-if (?args == nil, 
+if (System ?args == nil,
   write(&quot;requires name of sound file as argument&quot;)
 )
 */</diff>
      <filename>addons/SoundTouch/samples/sndplay.io</filename>
    </modified>
    <modified>
      <diff>@@ -8,6 +8,7 @@ Directory fileNamedOrNil := method(path,
 Directory setCurrentWorkingDirectory(launchPath)
 
 project := Project clone
+args := System args clone
 if(args at(1) == &quot;-a&quot;) then(
 	project buildAddon(args at(2))
 ) elseif (args at(1)) then(</diff>
      <filename>build.io</filename>
    </modified>
    <modified>
      <diff>@@ -286,7 +286,6 @@ Object do(
 
 	launchFile := method(path, args,
 		args ifNil(args = List clone)
-		Lobby args := args
 		Lobby launchPath :=  path pathComponent
 		Directory setCurrentWorkingDirectory(Lobby launchPath)
 		System launchScript = path
@@ -480,5 +479,3 @@ Object do(
 			&quot;Evaluates the File in the context of the receiver. Returns the result. pathString is relative to the file calling doRelativeFile. (Duplicate of doRelativeFile)&quot;)
 	relativeDoFile := getSlot(&quot;doRelativeFile&quot;)
 )
-
-Lobby args := method(System args)</diff>
      <filename>libs/iovm/io/A2_Object.io</filename>
    </modified>
    <modified>
      <diff>@@ -59,23 +59,23 @@ CLI := Object clone do(
 
 		runIorc
 
-		if(?args first == &quot;-e&quot;,
-			writeln(context doString(args slice(1) map(asUTF8) join(&quot; &quot;)))
+		if(System ?args first == &quot;-e&quot;,
+			writeln(context doString(System args slice(1) map(asUTF8) join(&quot; &quot;)))
 			return
 		)
 
-		if(?args and args size &gt; 0,
+		if(System ?args and System args size &gt; 0,
 
-			if(args first == &quot;-i&quot;,
-				if(args size &gt;= 2,
-					runFile(args at(1))
+			if(System args first == &quot;-i&quot;,
+				if(System args size &gt;= 2,
+					runFile(System args at(1))
 				,
 					if(File clone setPath(&quot;main.io&quot;) exists, runFile(&quot;main.io&quot;))
 				)
 				return interactiveMultiline
 			)
 
-			runFile(args first)
+			runFile(System args first)
 		,
 			if(File clone setPath(&quot;main.io&quot;) exists,
 				runFile(&quot;main.io&quot;)</diff>
      <filename>libs/iovm/io/Z_CLI.io</filename>
    </modified>
    <modified>
      <diff>@@ -2,6 +2,7 @@
 
 Importer addSearchPath(Path with(method(call message label pathComponent) call, &quot;..&quot;))
 
+args := System
 if(args at(1) == &quot;--print&quot;,
 	UnicodeTest getSlot(args at(2)) print
 	exit</diff>
      <filename>libs/iovm/tests/UnicodeTest-helper/printer.io</filename>
    </modified>
    <modified>
      <diff>@@ -3,12 +3,12 @@
 //Message useIoShuffle
 //Collector debugOn
 
-if(args size &gt; 1,
+if(System args size &gt; 1,
 	# Run specific tests
 	UnitTest verbose := getSlot(&quot;writeln&quot;)
 
 	time := Date clone cpuSecondsToRun(
-		args slice(1) foreach(name,
+		System args slice(1) foreach(name,
 			writeln(name, &quot;:&quot;)
 			try(
 				if(name endsWithSeq(&quot;.io&quot;),</diff>
      <filename>libs/iovm/tests/run.io</filename>
    </modified>
    <modified>
      <diff>@@ -3,4 +3,4 @@
 // ./io CommandLineArgs.io a b c d
 
 writeln(&quot;Command line arguments:&quot;)
-args foreach(println)
+System args foreach(println)</diff>
      <filename>samples/misc/CommandLineArgs.io</filename>
    </modified>
    <modified>
      <diff>@@ -7,7 +7,7 @@ if(isLaunchScript,
 
     writeln(&quot;System launchPath: &quot;, System launchPath)
     writeln(&quot;System launchScript: &quot;, System launchScript)
-    writeln(&quot;args: &quot;, args)
+    writeln(&quot;System args: &quot;, System args)
 ,
     # Loaded using doFile(&quot;MainFile.io&quot;)
     writeln(&quot;Was included from another file&quot;)</diff>
      <filename>samples/misc/MainFile.io</filename>
    </modified>
    <modified>
      <diff>@@ -20,7 +20,7 @@ TreeNode := Object clone do(
 )
 
 minDepth := 4
-maxDepth := args at(1) asNumber max(minDepth+2)
+maxDepth := System args at(1) asNumber max(minDepth+2)
 
 check := TreeNode clone bottomUpTree(0, maxDepth+1) itemCheck
 writeln(&quot;stretch tree of depth &quot;, maxDepth+1, &quot;\t check: &quot;, check)</diff>
      <filename>samples/shootout/binarytrees.io</filename>
    </modified>
    <modified>
      <diff>@@ -5,7 +5,7 @@
 
    Contributed by Gavin Harrison */
 
-n := args at(1) asNumber
+n := System args at(1) asNumber
 meetings := 0
 first := second := Nil
 </diff>
      <filename>samples/shootout/chameneos.io</filename>
    </modified>
    <modified>
      <diff>@@ -4,7 +4,7 @@
    http://shootout.alioth.debian.org
    Contributed by Gavin Harrison */
 
-times := args at(1) asNumber
+times := System args at(1) asNumber
 
 Coroutine setStackSize(30000)
 
@@ -25,14 +25,14 @@ last := nil
 )
 
 first := t
-args at(1) asNumber repeat(first @@foo(0))
+System args at(1) asNumber repeat(first @@foo(0))
 
 while(Coroutine yieldingCoros size &gt; 0, yield)
 
 writeln(sum)
 
 /*
-times := args at(1) asNumber
+times := System args at(1) asNumber
 
 sum := 0
 
@@ -71,13 +71,13 @@ mainCoro := Coroutine currentCoroutine
 //Collector setDebug(true)
 
 first := t
-args at(1) asNumber repeat(first receive(0))
+System args at(1) asNumber repeat(first receive(0))
 writeln(sum)
 */
 
 
 /*
-times := args at(1) asNumber
+times := System args at(1) asNumber
 sum := 0
 n := 0
 
@@ -93,7 +93,7 @@ send := method(
 )
 mainCoro := Coroutine currentCoroutine
 
-iters := args at(1) asNumber 
+iters := System args at(1) asNumber
 for(i, 1, iters,
 	n = 500
 	send</diff>
      <filename>samples/shootout/cheapconcurrency.io</filename>
    </modified>
    <modified>
      <diff>@@ -43,6 +43,6 @@ fannkuch := method(n,
     )
 )
 
-n := args at(1) asNumber
+n := System args at(1) asNumber
 f := fannkuch(n)
 writeln(&quot;Pfannkuchen(&quot;, n, &quot;) = &quot;, f)</diff>
      <filename>samples/shootout/fannkuch.io</filename>
    </modified>
    <modified>
      <diff>@@ -55,7 +55,7 @@ Fasta := Object clone do(
     )
 )
 
-n := args at(1) asNumber
+n := System args at(1) asNumber
 
 &quot;&gt;ONE Homo sapiens alu&quot; println
 Fasta repeat(2*n, ALU)</diff>
      <filename>samples/shootout/fasta.io</filename>
    </modified>
    <modified>
      <diff>@@ -88,5 +88,5 @@ MandelbrotSet := Object clone do(
     )
 )
 
-MandelbrotSet dim := args at(1) asNumber
+MandelbrotSet dim := System args at(1) asNumber
 MandelbrotSet do( calc; printSet )</diff>
      <filename>samples/shootout/mandelbrot.io</filename>
    </modified>
    <modified>
      <diff>@@ -105,6 +105,6 @@ Sim := Object clone do(
 //Collector setDebug(true)
 
 Sim energy asString(0,17) println
-Sim advance(args at(1) asNumber, 0.01)
+Sim advance(System args at(1) asNumber, 0.01)
 Sim energy asString(0,9) println
 </diff>
      <filename>samples/shootout/nbody.io</filename>
    </modified>
    <modified>
      <diff>@@ -28,7 +28,7 @@ nsieve := method(n,
 	writeln(&quot;Primes up to&quot;, n asString alignRight(9, &quot; &quot;), cnt asString alignRight(9, &quot; &quot;))
 )
 
-n := args at(1) asNumber
+n := System args at(1) asNumber
 nsieve( (2^n)*10000 )
 nsieve( (2^(n-1))*10000 )
 nsieve( (2^(n-2))*10000 )</diff>
      <filename>samples/shootout/nsieve.io</filename>
    </modified>
    <modified>
      <diff>@@ -27,7 +27,7 @@ sieve := Object clone do(
     )
 )
 
-n := args at(1) asNumber
+n := System args at(1) asNumber
 sieve show(10000 shiftLeft(n))
 sieve show(10000 shiftLeft(n-1))
 sieve show(10000 shiftLeft(n-2))</diff>
      <filename>samples/shootout/nsievebits.io</filename>
    </modified>
    <modified>
      <diff>@@ -9,7 +9,7 @@
 /* Contributed by Anthony Borla                                       */
 /* ------------------------------------------------------------------ */
 
-n := args at(1) asNumber
+n := System args at(1) asNumber
 
 s0 := 0 ; s1 := 0 ; s2 := 0 ; s3 := 0 ; s4 := 0 ; s5 := 0 ; s6 := 0
 s7 := 0 ; s8 := 0 ; d2 := 0 ; d3 := 0 ; ds := 0 ; dc := 0 ; alt := 1</diff>
      <filename>samples/shootout/partialsums.io</filename>
    </modified>
    <modified>
      <diff>@@ -47,7 +47,7 @@ tak := method(x, y, z,
 
 /* ----------------------------- */
 
-n := args at(1) asNumber
+n := System args at(1) asNumber
 
 // Use interpolation for complex string expressions
 &quot;Ack(3,#io{n}): #io{ack(3, n)}&quot; interpolate println</diff>
      <filename>samples/shootout/recursive.io</filename>
    </modified>
    <modified>
      <diff>@@ -29,5 +29,5 @@ SNorm:=Object clone do(
       n repeatTimes(u append(0))
       MAv(n,v,u)
       MAtv(n,u,AtAv)))
-n:=args at(1) asNumber
+n:= System args at(1) asNumber
 SNorm App(n) asString(0,9) println</diff>
      <filename>samples/shootout/spectral-norm.io</filename>
    </modified>
    <modified>
      <diff>@@ -50,8 +50,8 @@ DocsExtractor := Object clone do(
 )
 
 de := DocsExtractor clone
-de setPath(args at(1))
-if(args at(3) == &quot;clean&quot;, de clean, de extract)
+de setPath(System args at(1))
+if(System args at(3) == &quot;clean&quot;, de clean, de extract)
 
 
 </diff>
      <filename>tools/io/DocsExtractor.io</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1953294f9dfeae02442186a5b85c758a60b4e319</id>
    </parent>
  </parents>
  <author>
    <name>Chris Moyer</name>
    <email>chris@inarow.net</email>
  </author>
  <url>http://github.com/stevedekorte/io/commit/14cae4e1b4e2ff48b7f8530dba3dae89607d1004</url>
  <id>14cae4e1b4e2ff48b7f8530dba3dae89607d1004</id>
  <committed-date>2008-01-10T16:21:58-08:00</committed-date>
  <authored-date>2008-01-09T12:58:47-08:00</authored-date>
  <message>Removed args from Lobby (and therefor Object) and moved all calls to System args</message>
  <tree>86011c5fa1acfc6a445ce28bf58fe2a61b088463</tree>
  <committer>
    <name>Steve Dekorte</name>
    <email>steve@StevesLaptop.local</email>
  </committer>
</commit>
