hi
proview version 5.5 rpi
I create some test script
but promptdialog is not working:
string title = "title";
string question = "enter string";
string result = "enter";
if ( ! promptdialog(title,question,result)
printf( "Cancel\n");
printf( "result= %s\n, result");
else
printf( "Ok\n");
printf( "result= %s\n, result");
endif
- the first time i run this script I got:
fill in : "123"
conform with OK
Ok
result=123
(Good)
- the 2e time i run this script I got:
fill in : ""
conform with Cancel
Ok
result=123
(Wrong: shout be Cancel and "")
cees