a = [66, 333, 333, 1, 1234, 5]
print a.Count #->Count is property...?
print a.Contains(333)
a.Insert(2, -1)
a.Add(333) #->not 'Append'
print a
print a.IndexOf(333)
a.Remove(333)
print a
a.Sort()
print a
stack = [3, 4, 5]
stack.Add(6)
stack.Add(7)
print stack
print stack.Pop()
print stack
print stack.Pop()
print stack.Pop()
print stack
queue = ["Eric", "John", "Michael"]
queue.Add("Terry")
queue.Add("Graham")
print queue.Pop(0)
print queue.Pop(0)
print queue
2010/04/04
2010/03/11
AutoIt3のメモ 2
;jython script runner
;get temporally environment variable
$cp = EnvGet("JYTHONEXT")
;set additional class path
EnvSet("CLASSPATH", $cp)
Run("C:\jython25\jython.bat " & $CmdLine[1])
if @error Then MsgBox(16,"Error", @error)
Exit
;get temporally environment variable
$cp = EnvGet("JYTHONEXT")
;set additional class path
EnvSet("CLASSPATH", $cp)
Run("C:\jython25\jython.bat " & $CmdLine[1])
if @error Then MsgBox(16,"Error", @error)
Exit
2010/02/24
AutoIt3のメモ
...
While 1
$nMsg = GUIGetMsg()
Select
Case $nMsg = $Add1
$sItem = GUICtrlRead($Input1)
GUICtrlSetData($List1, $sItem)
Case $nMsg = $GUI_EVENT_CLOSE
Exit
EndSelect
WEnd
Booのメモ - step3
convenient sites
conversion of code:http://codeconverter.sharpdevelop.net/SnippetConverter.aspx
confirmation of specification:
http://boo.codehaus.org/Differences+with+Csharp
Google group:
http://groups-beta.google.com/group/boolang
登録:
投稿 (Atom)
