view single statement

This commit is contained in:
Alfred Kamanda 2024-11-19 16:04:46 +03:00
parent d49b68597c
commit bfcdd79f33
Signed by: Alfred-mk
GPG Key ID: 7EA3D01708908703
3 changed files with 15 additions and 0 deletions

View File

@ -5,7 +5,11 @@ MOUT quit 99
MNEXT next 11 MNEXT next 11
MPREV prev 22 MPREV prev 22
HALT HALT
LOAD view_statement 0
RELOAD view_statement
CATCH . flag_incorrect_statement 1
INCMP _ 0 INCMP _ 0
INCMP quit 99 INCMP quit 99
INCMP > 11 INCMP > 11
INCMP < 22 INCMP < 22
INCMP view_statement *

View File

@ -0,0 +1 @@
{{.view_statement}}

View File

@ -0,0 +1,10 @@
MAP view_statement
MOUT back 0
MOUT quit 9
MNEXT next 11
MPREV prev 22
HALT
INCMP _ 0
INCMP quit 9
INCMP > 11
INCMP < 22