与beq_nat
一样,bool
返回<
进行eq比较,<=
或@ECHO OFF
setlocal enableDelayedExpansion
call :CheckFileExists .\Database.db3
echo CheckFileExists returned %ERRORLEVEL%
IF %ERRORLEVEL% == 0 (
echo First check succeeded
call :CheckFileExists .\dummy.txt
echo CheckFileExists returned !ERRORLEVEL!
IF !ERRORLEVEL! == 0 (
echo Second check succeeded
) ELSE (
echo Second check failed
)
) ELSE (
echo First check failed
)
GOTO :eof
:CheckFileExists
IF exist %1 (
echo INFO: Necessary file exists: %1
) ELSE (
echo ERROR: Necessary file missing: %1
EXIT /B 1
)
EXIT /B
是否有相应的内容?
答案 0 :(得分:3)
是的,有固定点leb
和定义ltb
here。它们可以缩写为<?
和<=?
编辑:阅读ejgallego注释,它们在Coq.Init.Nat中定义(因此自动加载),但PeanoNat重新导出符号。