您好 - 我遇到了这个令人困惑的问题,我有一个嵌套的数字编辑框,并且由于某种原因它没有将输入的数字发送到我设置的变量中。 我尝试仅选择并运行该行,并且发现它将信息发送到变量,但由于上下文中的某种原因,它拒绝这样做。 我实际上不久前就让它工作了,但后来我上床睡觉,起床,没有改变之前的任何事情(我改变了它调用的脚本,并在下面添加了几行“写入列”行) ),这件事发生了,所以我有点困惑。 这是 <
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/*###*/
,这让我很困惑,因为这又更早地起作用了,而且它也正确地遵循了语法。 如果有人知道为什么会发生这种情况,那也会很有帮助。
提前致谢。