你好,
我想創建一個 RB,您可以在其中使用單選按鈕更改電阻、電流、電壓三個變量。
這是我嘗試過的,但有些東西似乎不正確。 有什麼建議嗎?
Names Default To Here( 1 );
stk = Current Data Table();
col = stk << Get Column Names( "String" );
Resist = {};
curr = {};
Volt = {};
For( i = 1, i <= N Items( col ), i++,
If(
Contains( col[i], "Resistance" ),
Insert Into( Resist, col[i] ),
Contains( col[i], "Currents" ),
Insert Into( curr, col[i] ),
Contains( col[i], "Voltage" ),
Insert Into( Volt, col[i] ),
)
);
New Window( "",
H List Box(
V List Box(
Radio Box(
{"Resitance", "Currents", "Voltage"},
<<SETFUNCTION></SETFUNCTION>謝謝,
傑基