您好 - 我遇到了這個令人困惑的問題,我有一個嵌套的數位編輯框,並且由於某種原因它沒有將輸入的數字發送到我設定的變數中。 我嘗試僅選擇並運行該行,並發現它將訊息發送到變量,但由於上下文中的某種原因,它拒絕這樣做。 我實際上不久前就讓它工作了,但後來我上床睡覺,起床,沒有改變之前的任何事情(我改變了它調用的腳本,並在下面添加了幾行“寫入列”行) ),這件事發生了,所以我有點困惑。 這是 <
Clear Symbols();
w = New Window( "Choose Row Number for XRD Run input", // opens a window with a title and this content...
Border Box( top( 20 ), bottom( 20 ), Left( 20 ), Right( 20 ), // window dressing
V List Box( // V and H lists nest to organize the display boxes
H Center Box( Text Box( "Choose Row Number for XRD Run input" ) ), // a second title, centered
Spacer Box( size( 1, 30 ) ), // a little vertical space
H Center Box( rowtemp = Number Edit Box( 116 ) ), // data entry
Spacer Box( size( 1, 10 ) ), // a little vertical space
H Center Box( // center the button
Button Box( "Import Smaple Data", // this script runs when the button is pressed...
rownumber = rowtemp << Get;另外,附帶問題,但是當我到達 w << close window 語句時,它說
Send 在存取或評估 'Send' 時需要可編寫腳本的對象,w << /*###*/closeWindow/*###*/
,這讓我很困惑,因為這又更早地起作用了,而且它也正確地遵循了語法。 如果有人知道為什麼會發生這種情況,也會很有幫助。
提前致謝。