| Date: | Tue, 19 Mar 1996 19:42:24 GMT |
| Reply-To: | dstanle@ibm.net |
| Sender: | "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU> |
| From: | Don Stanley <dstanle@IBM.NET> |
| Organization: | Information Power |
| Subject: | Re: SASTip: Ending an AF progam |
|---|
Usually better to use EXECCMDI('can') rather than EXECCMD as EXECCMDI is
immediate and
EXECCMD executes at the next window refresh.
Don
In <199603191724.RAA16688@ns.cityscape.co.uk>, Philip & Esther Mason
<jq62@MAILHOST.CITYSCAPE.CO.UK> writes:
>It is usually best to avoid using the following for abandoning a
>program,
> _status_='H'
>
>Instead use,
> call execcmd('can')
>as this will run the TERM: section. In good structured programming
>technique, there should only be one entry and one exit point for a
>program (or section). _status_='H' violates this rule, allowing
>multiple exit points.
>-----------------------------------------------------------+
>! Philip Mason !
>! Freelance SAS Consultant !
>! & SUGI-22 Applications Development co-chair !
>+----------------------------------------------------------+
>! 16 Wood Street, Wallingford, OXON., OX10 OAY, England !
>! Phone/Fax: +44 1491 824905 !
>-----------------------------------------------------------+
==============================================================================
=
Don Stanley DSTANLE@IBM.NET
Information Power Limited
SAS Institute Quality Partners
Wellington NEW ZEALAND
Author : Beyond The Obvious With SAS Screen Control Language
Currently Writing : Effective Use Of The Frame Entry In SAS Software
(Working title)
'... Through fallen leaves I make my way slowly, nature abounds ...'
|