📄 gordon.p
字号:
program ffunc( output ); type comparisons = ( less , equal , greater ); function insert( function comparitor( this , that : integer ) : comparisons; here , there : integer ) : boolean; function equality : boolean; begin if comparitor( here , there ) = equal then begin equality := true end else begin equality := false end end; begin insert := equality; end; function compare( this , that : integer ) : comparisons; begin if this < that then compare := less else if this = that then compare := equal else compare := greater end; begin writeln( insert( compare , 17 , 23 ) ); end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -