Hello Aparajita

Thanks a lot for this information. This helps.

Regards, Oliver

> Am 06.04.2015 um 19:27 schrieb Aparajita Fishman <[email protected]>:
> 
>> Sometime it would be easier scripting, if we could exit a Include File, 
>> instead of using If else end if.
> 
> Use 'return'.
> 
> From the docs for 'return', page 92 (note the last sentence):
> 
> "This keyword (used on a line by itself) transfers execution to the first 
> line of code after the current code block. If you are within an Active4D 
> method, execution will continue at the first line of code after the line that 
> called the method. If you are within an included file, execution continues 
> after the include statement that included that file.”
> 
> Regards,
> 
>  Aparajita
> 
> _______________________________________________
> Active4D-dev mailing list
> [email protected]
> http://list.aparajitaworld.com/listinfo/active4d-dev
> Archives: http://active4d-nabble.aparajitaworld.com/

_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/

Reply via email to