This would work:
==========
do until answer = N'
    say 'Do you want to exit? (s/n)'
    pull answer
    if answer = 'S' then exit
end
==========

It could be made a lot more elegant, of course.

On Fri, Oct 3, 2008 at 9:20 PM, Claudio Marcio <[EMAIL PROTECTED]> wrote:
> Hi,
>
> How make to receive one string in rexx language??
>
> Ex.   say ' you want exit (s/n)?'
>
> pull ??
> arg ?? parse ??
>
> if  (string??) = 's'
>   return to begin exec
> else
>   exit
>
> I want ready the string with which command?
>
> regards
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
>
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to