Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > microsoft.public.excel.programming > #111194
| From | Adrian Caspersz <email@here.invalid> |
|---|---|
| Newsgroups | microsoft.public.excel.programming |
| Subject | Re: Early exit from function? |
| Date | 2019-10-15 09:56 +0100 |
| Organization | Keep Usenet Text Newsgroups Alive!! |
| Message-ID | <h0lftlFgvaqU1@mid.individual.net> (permalink) |
| References | <cb431177-cbf1-45c2-8c21-2e68b7bf61d7@googlegroups.com> |
On 15/10/2019 08:42, RG III wrote: > Suppose I have the following function: > > '------------------------------------ > Function foo(x as Integer) as Integer > > If (x < 1) Then > foo = 1 ' Exit point? Exit Function https://docs.microsoft.com/en-us/dotnet/visual-basic/language-reference/statements/exit-statement -- Adrian C
Back to microsoft.public.excel.programming | Previous | Next — Previous in thread | Find similar | Unroll thread
Early exit from function? RG III <mob.rrr.3@gmail.com> - 2019-10-15 00:42 -0700 Re: Early exit from function? Adrian Caspersz <email@here.invalid> - 2019-10-15 09:56 +0100
csiph-web