Tempo de leitura: 1 minuto
Olá, no post de hoje iremos falar de um dos comandos ADVPL, o comando Exit. O comando Exit em ADVPL causa a saída de um ciclo de repetição While … EndDo ou For … Next, transferindo o fluxo de execução do programa para a primeira linha de instrução imediatamente seguinte ao EndDo ou Next.
Sintaxe:
Exit
Parâmetro(s):
Nenhum
Utilização:
Utiliza-se o comando Exit para forçar a finalização de uma estrutura de repetição While … EndDo ou For … Next, mesmo que a condição de repetição do While ainda permaneça verdadeira ou o contador do For … Next ainda não tenha atingido o seu limite.
Exemplo do comando Exit em ADVPL:
#include 'protheus.ch'
/*{Protheus.doc} User Function fExit
(Essa função tem por finalidade mostrar o comando Exit em ADVPL)
@type Function
@author Adilio Costa
@since 13/10/2023
@version 1.0
@site https://www.protheusadvpl.com.br
@canal https://www.youtube.com/protheusadvpl
@instagram https://www.instagram.com/protheusadvpl
@Portal ProtheusAdvpl:https://hotmart.com/pt-br/marketplace/produtos/portal-protheusadvpl/O10336806O
@Post:Exit
*/
User Function fExit()
Local nX := 0
Local nY := 0
While nX <= 10
++nX
If(nX == 5)
MsgInfo("Saindo do laço de repetição While através do comando Exit!")
Exit
Else
MsgInfo("Continua processando o While..."+cValToChar(nX))
EndIf
EndDo
For nY:= 1 To 20
If(nY == 10)
MsgInfo("Saindo do laço de repetição For através do comando Exit!")
Exit
Else
MsgInfo("Continua processando o For..."+cValToChar(nY))
EndIf
Next nY
Return
Bem, finalizamos mais um post aqui do blog, espero que tenha entendido o conteúdo sobre o comando Exit. Qualquer dúvida deixe seu comentário abaixo ou nos envie um e-mail para adiliocosta@protheusadvpl.com.br. Nos ajude compartilhando esse conteúdo nos grupos de Protheus e ADVPL/TL++ que você participa.
Grande abraço e fica com Deus.
Link de referência:https://tdn.totvs.com/display/public/framework/EXIT
Link permanente
Thanks for the concepts you are sharing on this blog site. Another thing I’d like to say is that often getting hold of duplicates of your credit profile in order to check out accuracy of each and every detail may be the first motion you have to undertake in credit repair. You are looking to clean your credit history from harmful details errors that ruin your credit score.
Link permanente
Thanks to my father who shared with me on the
topic of this weblog, this blog is genuinely remarkable.
Link permanente
Superb site you have here but I was curious if you knew of any community forums that cover the same topics discussed in this article? I’d really love to be a part of community where I can get responses from other experienced people that share the same interest. If you have any suggestions, please let me know. Bless you!
Link permanente
Thanks for the auspicious writeup. It in fact was once a entertainment account it.
Glance complicated to far delivered agreeable from you! However, how can we keep up a correspondence?
Link permanente
You really make it appear so easy together with your presentation however
I to find this topic to be really one thing which I believe
I would by no means understand. It kind of feels too complex and very huge
for me. I’m taking a look forward on your subsequent publish,
I will attempt to get the cling of it!
Link permanente
Magnificent items from you, man. I’ve be aware your stuff prior to and you’re simply extremely wonderful.
I really like what you have bought right here, certainly like what you
are stating and the best way by which you say it.
You’re making it enjoyable and you continue to take care of
to keep it wise. I can’t wait to read far more from you.
This is actually a great site.
Link permanente
I got this web site from my buddy who shared with me on the topic of this website and at the moment this time
I am browsing this site and reading very informative articles at this time.
Link permanente
Link exchange is nothing else but it is just placing
the other person’s weblog link on your page
at appropriate place and other person will also do similar in support
of you.
Link permanente
Write more, thats all I have to say. Literally,
it seems as though you relied on the video to make your point.
You clearly know what youre talking about, why throw away your intelligence on just posting videos to your weblog
when you could be giving us something enlightening to read?
Link permanente
Valuable information. Fortunate me I discovered your website accidentally, and I am shocked why this accident did not took place in advance!
I bookmarked it.
Link permanente
After looking into a number of the articles on your web page, I seriously appreciate your technique of writing a blog.
I saved it to my bookmark webpage list and will be
checking back soon. Please check out my web site as well and tell
me what you think.
Link permanente
Great article. I will be experiencing a few of these issues
as well..
Link permanente
May I simply say what a comfort to discover someone that truly knows what they’re
discussing on the internet. You certainly understand how to bring an issue to
light and make it important. More people really need to read this and understand this
side of your story. I can’t believe you are not more popular given that you surely possess the
gift.
Link permanente
What’s up, just wanted to tell you, I loved this blog post.
It was practical. Keep on posting!
Link permanente
Hi, everything is going perfectly here and ofcourse every one is sharing facts, that’s truly fine, keep up writing.
Link permanente
Stunning quest there. What occurred after? Good luck!
Link permanente
It’s awesome to pay a visit this website and reading the views of all colleagues about this article, while I
am also keen of getting familiarity.
Link permanente
Why people still use to read news papers when in this technological
globe the whole thing is existing on web?
Link permanente
Hi there, I enjoy reading all of your post. I wanted to write a little comment to support you.
Link permanente
Do you have a spam problem on this blog; I also am a blogger, and I was wondering
your situation; many of us have developed some nice practices and we are looking to swap strategies
with other folks, be sure to shoot me an email
if interested.
Link permanente
It’s very effortless to find out any matter on net as compared to books, as I found this article at this website.
Link permanente
Hi there would you mind letting me know which webhost you’re using? I’ve loaded your blog in 3 different internet browsers and I must say this blog loads a lot quicker then most. Can you recommend a good internet hosting provider at a honest price? Many thanks, I appreciate it!
Link permanente
It is in reality a great and useful piece of information. I?m glad that you shared this helpful information with us. Please stay us up to date like this. Thanks for sharing.
Link permanente
https://brooksh6666.bleepblogs.com/23152108/chinese-medicine-clinic-for-dummies
Link permanente
https://joshuav122cwr7.idblogz.com/profile
Link permanente
https://cruxbookmarks.com/story15898594/facts-about-chinese-massage-miami-revealed
Link permanente
Remarkable issues here. I’m very happy to look your article.
Thank you so much and I am having a look ahead to contact you.
Will you please drop me a e-mail?
Link permanente
I need to to thank you for this excellent read!! I absolutely enjoyed every little bit of it. I have got you book marked to check out new stuff you post…
Link permanente
WOW just what I was looking for. Came here by searching for website
Link permanente
Its not my first time to pay a quick visit this web site,
i am browsing this website dailly and take fastidious
facts from here all the time.
Link permanente
I visited multiple websites however the audio feature for audio songs current at this
site is really marvelous.
Link permanente
http://www.mybudgetart.com.au is Australia’s Trusted Online Wall Art Canvas Prints Store. We are selling art online since 2008. We offer 2000+ artwork designs, up-to 50 OFF store-wide, FREE Delivery Australia & New Zealand, and World-wide shipping to 50 plus countries.
Link permanente
Thanks for these tips. One thing I additionally believe is credit cards presenting a 0 rate often lure consumers along with zero interest rate, instant approval and easy on-line balance transfers, nonetheless beware of the top factor that is going to void the 0 easy street annual percentage rate and also throw you out into the terrible house rapidly.
Link permanente
Appreciation to my father who shared with me concerning this web
site, this webpage is truly amazing.
Link permanente
Hi there, its good piece of writing concerning media print, we all be familiar
with media is a impressive source of information.
Link permanente
First of all I would like to say excellent blog!
I had a quick question which I’d like to ask if you
don’t mind. I was interested to find out how you
center yourself and clear your head before writing. I have had trouble clearing my thoughts in getting my ideas out.
I do enjoy writing however it just seems like the first 10 to 15 minutes are
usually lost simply just trying to figure out how to begin. Any suggestions
or tips? Thanks!
Link permanente
Hi there this is kind of of off topic but I was wondering if blogs use
WYSIWYG editors or if you have to manually code with HTML.
I’m starting a blog soon but have no coding
know-how so I wanted to get advice from someone with experience.
Any help would be enormously appreciated!
Link permanente
You really make it seem so easy with your presentation but I find this matter to
be actually something that I think I would never understand.
It seems too complex and extremely broad for me. I’m looking forward for your next post,
I will try to get the hang of it!
Link permanente
Hey there I am so thrilled I found your blog, I really found you by error,
while I was looking on Askjeeve for something else, Anyways I am here now and would just like to say kudos for a tremendous post and a all round
exciting blog (I also love the theme/design), I don’t have time to look
over it all at the moment but I have bookmarked it and also included
your RSS feeds, so when I have time I will be back
to read a lot more, Please do keep up the great work.
Link permanente
I was pretty pleased to uncover this page. I wanted to thank you for ones time for this particularly fantastic read!!
I definitely liked every bit of it and i also have you saved to fav to check out new information on your site.
Link permanente
I’m not sure exactly why but this site is loading
very slow for me. Is anyone else having this issue
or is it a problem on my end? I’ll check back later on and see if
the problem still exists.
Link permanente
Howdy! I’m at work surfing around your blog from my new iphone! Just wanted to say I love reading your blog and look forward to all your posts! Carry on the excellent work!
Link permanente
https://christianw345kji5.wikilinksnews.com/user
Link permanente
https://andy92j5k.blogsvila.com/23000702/top-latest-five-chinese-medicine-body-map-urban-news
Link permanente
https://angelo5nl94.mpeblog.com/45650546/the-smart-trick-of-chinese-medicine-journal-that-no-one-is-discussing
Link permanente
https://andres9um0h.izrablog.com/22925427/5-tips-about-lady-massage-you-can-use-today
Link permanente
https://troy57887.newsbloger.com/23157480/5-simple-statements-about-chinese-medicine-cupping-explained
Link permanente
https://archbishopi541oeu6.win-blog.com/profile
Link permanente
https://edwinn9258.therainblog.com/22860386/not-known-factual-statements-about-chinese-medicine-basics
Link permanente
https://august0kk67.blogscribble.com/22976108/the-smart-trick-of-chinese-medicine-journal-that-no-one-is-discussing
Link permanente
https://jaspers23g4.blogrenanda.com/28201817/top-latest-five-chinese-medical-massage-urban-news
Link permanente
https://nielsy790yzy1.blog-mall.com/profile
Link permanente
https://cash5x1bz.thelateblog.com/23125332/details-fiction-and-chinese-medicine-for-inflammation
Link permanente
https://kingx580bcc3.yomoblog.com/profile
Link permanente
https://paxton7xvqk.daneblogger.com/22892514/details-fiction-and-massage-korean-spas
Link permanente
https://bookmarkize.com/story15869968/how-korean-beauty-massage-can-save-you-time-stress-and-money
Link permanente
https://jaiden16036.dm-blog.com/22909976/the-definitive-guide-to-thailand-massage-bangkok
Link permanente
https://zane5ut99.wssblogs.com/22932301/everything-about-chinese-massage-benefits
Link permanente
https://bouchesocial.com/story17297149/5-simple-techniques-for-chinese-medicine-for-diabetes
Link permanente
Thanks a lot for your post. I’d prefer to say that the expense of car insurance varies greatly from one policy to another, given that there are so many different facets which bring about the overall cost. By way of example, the model and make of the automobile will have a huge bearing on the charge. A reliable outdated family auto will have a more affordable premium than a flashy performance car.
Link permanente
https://harryk900wrl5.bloggosite.com/profile
Link permanente
There are some attention-grabbing cut-off dates in this article but I don?t know if I see all of them middle to heart. There’s some validity however I will take hold opinion till I look into it further. Good article , thanks and we wish more! Added to FeedBurner as properly
Link permanente
https://garrettu3715.pages10.com/what-does-chinese-medicine-cupping-mean-58384621
Link permanente
https://louis6ce3g.ssnblog.com/22880675/about-chinese-medicine-cooker
Link permanente
https://rylan36u0w.webdesign96.com/23063403/the-ultimate-guide-to-chinese-medicine-body-map
Link permanente
https://raymond03aab.tribunablog.com/chinese-medical-massage-fundamentals-explained-36771007
Link permanente
https://jeffreyjpqq90123.goabroadblog.com/22677401/new-step-by-step-map-for-chinese-medical-massage
Link permanente
Helpful information. Lucky me I found your website accidentally, and I’m shocked why this accident didn’t happened earlier! I bookmarked it.
Link permanente
There is noticeably a bundle to learn about this. I assume you made sure good factors in features also.
Link permanente
https://reidu12zx.blogsumer.com/22830102/the-best-side-of-korean-massage-scrub
Link permanente
https://keegan57v0w.thekatyblog.com/22796791/the-greatest-guide-to-chinese-medicine-clinic
Link permanente
Great blog post. Some tips i would like to add is that pc memory should be purchased if the computer cannot cope with everything you do along with it. One can set up two good old ram boards with 1GB each, as an example, but not certainly one of 1GB and one of 2GB. One should always check the maker’s documentation for the PC to ensure what type of memory it can take.
Link permanente
The other day, while I was at work, my sister stole my iphone and tested to see if it can survive a twenty five foot drop, just so she can be a youtube sensation. My iPad is now broken and she has 83 views. I know this is totally off topic but I had to share it with someone!
Link permanente
You can definitely see your skills within the work you write. The sector hopes for even more passionate writers like you who are not afraid to say how they believe. Always follow your heart.
Link permanente
https://paulv467tro7.wikiusnews.com/user
Link permanente
https://cesarr0122.blogpixi.com/23117239/chinese-medicine-certificate-fundamentals-explained
Link permanente
Wow that was unusual. I just wrote an incredibly long comment but after I clicked submit my comment didn’t appear. Grrrr… well I’m not writing all that over again. Anyway, just wanted to say fantastic blog!
Link permanente
https://dalton58x1y.shoutmyblog.com/22846706/chinese-medicine-clinic-for-dummies
Link permanente
https://charlie0v9eu.estate-blog.com/22838657/5-simple-statements-about-chinese-massage-brighton-explained
Link permanente
https://zander81581.actoblog.com/23172579/the-basic-principles-of-chinese-medicine-books
Link permanente
https://louisz46n7.smblogsites.com/22736574/how-thailand-massage-can-save-you-time-stress-and-money
Link permanente
https://bookmarkingdepot.com/story15811912/the-smart-trick-of-chinese-medicine-for-diabetes-that-nobody-is-discussing
Link permanente
Great work! This is the type of information that should be shared around the internet. Shame on the search engines for not positioning this post higher! Come on over and visit my web site . Thanks =)
Link permanente
bookdecorfactory.com is a Global Trusted Online Fake Books Decor Store. We sell high quality budget price fake books decoration, Faux Books Decor. We offer FREE shipping across US, UK, AUS, NZ, Russia, Europe, Asia and deliver 100+ countries. Our delivery takes around 12 to 20 Days. We started our online business journey in Sydney, Australia and have been selling all sorts of home decor and art styles since 2008.
Link permanente
This is the fitting blog for anybody who wants to find out about this topic. You realize so much its virtually hard to argue with you (not that I actually would need?HaHa). You positively put a brand new spin on a topic thats been written about for years. Nice stuff, just great!
Link permanente
https://tvsocialnews.com/story1164588/korean-massage-spa-irvine-an-overview
Link permanente
https://andret0u90.bligblogging.com/23043944/5-easy-facts-about-healthy-massage-near-me-described
Link permanente
https://keeganf28so.nizarblog.com/23016362/how-massage-chinese-london-can-save-you-time-stress-and-money