ncgjiju
6th March 2015, 05:52
how to set answer in message yes or no and check the response
message("do you want to proceed")
i want to capture yes or no
please advice
bhushanchanda
6th March 2015, 06:18
Hi,
You need to create a 'Question" for that and not message.
For that, provide the domain as tcyesno.
Then use this -
ret = seq.open( filename, "w" )
while ( ret <= 0 )
if ( ask.enum( "tccom00001", tcyesno.yes, ret, filename )
= tcyesno.no) then
return
endif
ret = seq.open( filename, "w" )
endwhile