// if x = y then {if_code}; else then {else_code}
,>,< / empty memory
[->-<]> / (x)'y
[>->]< / 0'(y-x)
[
{if_code}
->>
]< / {if x=y then} (0)'0; {else then} 0'y-x'(1)
[
{else_code}
[-]
]< / 0'(y-x)
/ empty memory
/是顯示記憶體應該是什么樣子,'是分隔記憶體中的值,()用于顯示指標的位置,//用于注釋,{}用于描述
每當我嘗試運行它時,無論我輸入什么,if_code 和 else_code 都會運行。
uj5u.com熱心網友回復:
您的“評論”中至少隱藏了三個“-”命令。
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/460392.html
