From Esolang
Jump to navigation Jump to search

JCLN (Jump Conditionally to a LiNe) is an OISC instruction invented by User:A.


Programs are executed in a sequential order by default.
The basic syntax of the command is to jump to a specific line if a line specified is the "current line".
-1 is a special line: it matches with all of the lines.

To unconditionally jump to a line:

jcln -1, line
#For example, to jump to line 5, you type:
jcln -1, 5

To conditionally jump to a line:

jcln 1, 5
#If the current line number is 1, jump to line 5.