終於讓我寫出來了!!!哇哈哈哈哈....
Yesterday afternoon, I had a meeting with my advisor for discussing one of my projects. The meeting went very effeciently and was very productive as well, but it turned out that I have to modify one parameter on the computer program for the experiment.
I spent almost one and a half day but still couldn't figure it out.
I was so frustrated and upset....
就在, 我快要放棄的時候...
突然有個念頭閃過..
然後馬上一試....
YA!!! I screamed so loudly...
"我成功了!!!!.... 我成功了!!!!... 我成功了!!!!"
哇~~哈哈哈哈....!!! (餘音繞樑,三日不絕......想不到我還會用成語..)
想起我們的國父說的話: 什麼什麼什麼什麼的... 絕不輕言放棄 !!
Yes, never say never!!!
*^_____________________^* (我的嘴巴都笑到耳朵那裡了~ heeheehee)
The following is what I was working on these days...
sub
display( string caption )
begin
text1.set_caption( caption );
text1.redraw();
trial1.present()
end;
trial1.set_start_time( 2000 );
display( "set_start_time( 2000 )" );
trial1.set_start_delay( 1000 );
display( "set_start_delay( 1000 )" );
trial1.set_start_delay( 0 );
trial1.set_duration( 4000 );
display( "set_duration( 4000 )" );
trial1.set_duration( forever );
trial1.set_type( first_response );
display( "set_duration( forever )\nset_type( first_response )" );
trial1.set_type( nth_response );
trial1.set_max_responses( 3 );
display( "set_type( nth_response )\nset_max_responses( 3 )" );
trial1.set_all_responses( false );
trial1.set_type( first_response );
trial1.set_duration( 7000 );
display( "set_all_responses( false )\nset_type( first_response )\nset_duration( 7000 )\nno target" );
trial1.set_duration( forever );
event1.set_target_button( 1 );
display( "set_all_responses( false )\nset_type( first_response )\nset_duration( forever )\ntarget" );

Congratulations! you break through some keypoint.^++++++^ For what
langauge in your statement. It seemed to draw image ?
yylan
Yeah...images and sounds..:)
這是什麼語言呢...
雖然有很多OO的東西..但是一定不是那些熱門的C++或JAVA..差太多了...
subprogram中..
先有declare區....接著用begin和end做一個block的語言..
是很像Pascal或ADA95吧...可是我沒有寫過Pascal..不知道到底長怎樣.
怎麼現在大家都開始寫程式呀...
我唸物理系的朋友也在寫程式..
大家別和我們搶工作呀...已經很難找工作了...:(
PS:妳怎麼寫程式都沒用COMMENT呀....這樣一個月後再回來看還要花時間去理
解當初寫的是什麼...
Yes, I did. I just didn't post the real code here. Those are for example only. ^^
I worte comments behind my codes like,
trial1.set_duration( forever ); #for self-paced
trial1.set_type( first_response ); #for self-paced
something like this...
Since my field belongs to "Science department" and also attributes to medical
department somehow, we always need to run subjects for "behavioral" experiments
and then put subjects into the scanner (scan the brain to see the activation areas).
That's the reason why I need to learn writing some codes for running the
experiment by PC; otherwises I have to wait for the technician, the only computer
guy in our department. That would be wasting time. 要學會自己釣魚,不要等人給你魚
吃...what do you think? :)
caffeine