#1 2020-06-27 18:39

oem
Member
Registered: 2018-12-15
Posts: 2

Force Break and Infinite Pascal Loop

Just wondering if there is a way to force break pascal in renamer?

Offline

#2 2020-06-27 19:29

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,033

Re: Force Break and Infinite Pascal Loop

Hi, see there >> http://www.den4b.com/wiki/ReNamer:Pasca … uick_guide

Break;     //Ends the current subroutine / loop.
Continue; //Skip the current subroutine / loop for the current file.
Exit ;      //Me think this can be used like break too for our simple scripts, or can also terminate the whole script.       



if <Condition> then xxxxx;



But I don't know for sure when to use what, would be nice if den4b can bring in some light ;-)


 


Please see HELP and MANUAL in Wiki for more info.
If ReNamer had helped you, please donate a coin to Denis or buy a Pro license for commercial use. (Lite vs Pro)

Offline

#3 2020-06-27 20:26

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 2,982

Re: Force Break and Infinite Pascal Loop

Stefan wrote:

Break;     //Ends the current subroutine / loop.
Continue; //Skip the current subroutine / loop for the current file.
Exit ;      //Me think this can be used like break too for our simple scripts, or can also terminate the whole script.

I would describe it as:

Break - Ends the current loop.
Continue - Skips the current iteration of a loop.
Exit - Terminates the current routine (function or procedure).

Offline

Board footer

Powered by FluxBB