Hi all.
I'm using Virtuoso IC6.1.8-500.19 and I am writing the SKILL script that needs to take user's input in the runtime.
At first, I implemented it by using gets
function and got the input from CIW. It works well.
However, I want to take the input with GUI.
A trick I can think is that call break
to halt the function right after hiDisplayForm, and if the callback is called by clicking "OK", take the value from the form as below.
procedure(test_gui()
formId = gui_body()
break()
want_value = formId-><some_field>->value
);procedure
procedure(gui_body()
prog((formId)
/* Some field
....
*/
formId = hiCreateLayoutForm(... ?callback "continue()" ...)
hiDisplayForm(formId)
return(formId)
);prog
);procedure
But I don't think it is a good way. Is there a way to achieve it?