DRAKON.SU
https://forum.drakon.su/

How to make an if statement
https://forum.drakon.su/viewtopic.php?f=218&t=6579
Страница 1 из 1

Автор:  Владимир Паронджанов [ Четверг, 30 Май, 2019 10:07 ]
Заголовок сообщения:  How to make an if statement

How to make an if statement

https://www.youtube.com/watch?v=VmeGX8Pv-ug
Цитата:
if statements with a happy path

Опубликовано: 7 мая 2019 г.
How to show the happy path in JavaScript if-statements.

https://drakon.tech/

https://drakon.tech/js/tutorials/if-happy-path
Цитата:
How to make an if statement

How to add branching logic to the algorithm in DRAKON
For checking boolean conditions, use the "Question" icon.

Note: the "Yes" and "No" exits from a "Question" icon can be swapped (use the context menu).

Put the happy path on the main vertical line.
Place error handling on the right-hand side of the diagram.

A "Question" icon:
Изображение

Страница 1 из 1 Часовой пояс: UTC + 3 часа
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/