Add stack views, both char and long
This commit is contained in:
@@ -3,5 +3,5 @@ package befide.befunge.state
|
||||
data class Value(val value: Long) {
|
||||
constructor(value: Char) : this(value.toLong())
|
||||
|
||||
val asChar: Char? = if (value in (32..126)) value.toChar() else null
|
||||
val asChar: Char? = if (value in (32..127)) value.toChar() else null
|
||||
}
|
||||
Reference in New Issue
Block a user