← Back to team overview

sikuli-driver team mailing list archive

[Question #150530]: (Chinese (Traditional)) about array

 

A question was asked in a language (Chinese (Traditional)) spoken by
none of the registered Sikuli answer contacts.

https://answers.launchpad.net/sikuli/+question/150530

hello I want printf the array output but I don't know how to use 
this is my code:
doubleClick( )
a = [ 0 , 0 , 10 , 20 ]
sleep(0.5)
type(a[2])


你好 我想要讓一個陣列跑出它裡面其中一個元素 可是我不知道語法怎麼寫
譬如 我想要讓 a= [ 0 , 0 , 10 , 20 ]  跑出第3個元素 10 
下面是我的程式碼 但是跑出來卻說ERROR
doubleClick( )
a = [ 0 , 0 , 10 , 20 ]
sleep(0.5)
type(a[2])




-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.