- Code: Select all
class A
def main
a = CobraCore.commandLineArgs
for i in a
print i
and the output I get when I try to run it:
- Code: Select all
F:\Documents and Settings\john\Desktop>cobra -d -compile x.cobra
Compilation succeeded
F:\Documents and Settings\john\Desktop>mdbg x.exe
MDbg (Managed debugger) v3.5.30729.1 (SP.030729-0100) started.
Copyright (C) Microsoft Corporation. All rights reserved.
For information about commands type "help";
to exit program type "quit".
run x.exe
STOP: Breakpoint Hit
located at line 1 in MainWrapper.cobra
[p#:0, t#:0] mdbg>
the name of the file is x.cobra