Steve wrote:
> Judging from the text colour, strings aren't recognised until there is
> both an opening and closing quote. I am not in the habit of putting
> both quotes immediately and then typing within them (I put the first
> one, type the string and then close it) and so until I reach the end
>
That's what happens when you try learning too many languages at once...
It was IronRuby, and I meant to ask it in an IronRuby list.
Whoops!
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
The snippet below isn't Python... For Python you'd call:
import sys
sys.exit(0)
replacing "0" with whatever exit code you want to use.
Dave
-Original Message-
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Thomas Gagne
Sent: T
On Thu, May 6, 2010 at 10:58, Thomas Gagne wrote:
> My question is simpler, how do I exit a regular script?
>
> If ARGV.length != 1
>puts "usage:"
>Process.exit
> end
>
> I get an error calling Process.exit (private member)
> Process.Exit (method does not exist)
> sys.Exit (undefined
My question is simpler, how do I exit a regular script?
If ARGV.length != 1
puts "usage:"
Process.exit
end
I get an error calling Process.exit (private member)
Process.Exit (method does not exist)
sys.Exit (undefined method 'sys' for main:Object)
How do I quit my script?
__
This is an automated email letting you know that sources
have recently been pushed out. You can download these newer
sources directly from
http://ironpython.codeplex.com/SourceControl/changeset/view/65998.
ADDED SOURCES
$/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/Zip.cs