Английская Википедия:Direct mode

Материал из Онлайн справочника
Версия от 16:50, 27 февраля 2024; EducationBot (обсуждение | вклад) (Новая страница: «{{Английская Википедия/Панель перехода}} {{Short description|In computing, immediate execution of commands}} {{Distinguish|immediate mode (computer graphics)}} In computing, '''direct''' or '''immediate mode'''<ref>{{cite web|url=http://www.6502.org/users/sjgray/computer/rtclinks/rtclink2-manual.pdf|title=Immediate Mode}}</ref><ref>{{cite web|url=http://www.commodore.ca/manuals/128_system_guide/sect-03a.htm|title=C128 System...»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
Перейти к навигацииПерейти к поиску

Шаблон:Short description Шаблон:Distinguish In computing, direct or immediate mode[1][2] in an interactive programming system is the immediate execution of commands, statements, or expressions. In many interactive systems, most of these can both be included in programs or executed directly in a read–eval–print loop (REPL).

Most interactive systems also offer the possibility of defining programs in the REPL, either with explicit declarations, such as Python's def, or by labelling them with line numbers. Programs can then be run by calling a named or numbered procedure or by running a main program.

Many programming systems, from Lisp and JOSS to Python and Perl have interactive REPLs which also allow defining programs. Most integrated development environments offer a direct mode where, during debugging and while the program execution is suspended, commands can be executed directly in the current scope and the result is displayed.

Example

Non-direct mode in BasicШаблон:Sxhl
Direct mode in BasicШаблон:Sxhl

References

Шаблон:Reflist