GoTo Statement

Continues program execution within a Sub or Function at the procedure line indicated by a label.

தொடரமைப்பு:

அளவுருக்களைக் காண்க

அளவுருக்கள்:

Sub/Function

கூற்றுத் தடுப்பு

 விளக்கச்சீட்டு1

விளக்கச்சீட்டு2:

statement block

Exit Sub

விளக்கச்சீட்டு1:

statement block

GoTo Label2

End Sub/Function

Use the GoTo statement to instruct LibreOffice Basic to continue program execution at another place within the procedure. The position must be indicated by a label. To set a label, assign a name, and then and end it with a colon (":").

Warning Icon

You cannot use the GoTo statement to jump out of a Sub or Function.


எடுத்துக்காட்டு:

அளவுருக்களைக் காண்க