Thanks for R:Base is forgiving

 

Gunnar Ekblad

Kontema IT AB

Hästholmsvägen 32

131 30 Nacka

Sweden

 

-----Ursprungligt meddelande-----
Från: [email protected] [mailto:[email protected]] För Lawrence Lustig
Skickat: den 14 oktober 2009 19:43
Till: RBASE-L Mailing List
Ämne: [RBASE-L] - Re: SGET

 

<<

Do I have the RETURN in the proper place? Or should it go after the ENDIF?

 

IF vShipState <> .vSgetState THEN

   PAUSE 2 USING 'Shipstate & C# State must be the same!' CAPTION '  New
Order ' ICON STOP

   SKIP TO vShipstate

   RETURN

ENDIF

>>

 

R:Base is very forgiving of missing RETURNs, but yes, you should move the
RETURN from inside to outside the IF statement.

--

Larry

 

Reply via email to