Automation and bots

 Помощь      Поиск      Пользователи


 Страниц (1): [1]   

> Описание: Output from function by two goto global operators to a label outside the function
Kibor
Отправлено: 24 Октября, 2018 - 11:09:44
Post Id



Администратор
Full Member


Покинул форум
Сообщений всего: 160
Дата рег-ции: Дек. 2017  
Репутация: 0
Карма 0




Added the ability to exit a function using the goto command to a label outside the function. Deviation from the rules, but sometimes it can be very convenient when you have to leave the nested functions in a certain place of the general code.

The operator goto allows you to go to the line of code with the appropriate label.
In functions, this transition goes to local labels (located in this function).
Added operator global
Syntax:
goto global

Being written in a function, it allows you to exit from a function to a global label declared outside of functions.

Example:

CODE:
a:; //№ 1
ff ();


function ff ()
{
a:; //№ 2
goto a; //Prereydet on a tag № 2
goto global a; //Preload on a label a № 1
}


Labels declared in include will not be distributed.

-----
The Visual Code Editor is Kibor. Creating bots without knowledge of programming.

Learning function for recognizing text.
-----
 
 Top
Страниц (1): [1]
Сейчас эту тему просматривают: 1 (гостей: 1, зарегистрированных: 0)
« About Kibor »


Все гости форума могут просматривать этот раздел.
Только администраторы и модераторы могут создавать новые темы в этом разделе.
Только зарегистрированные пользователи могут отвечать на сообщения в этом разделе.
 




Powered by