VDS Renaissance 的界面提供多种语言。官方文档以英语维护,以确保提供统一、一致且始终最新的参考。
@OK
Windows ✓Linux ✓macOS ⏳
Syntax
@OK()
Description
This function is used to test the status of the OK indicator, which is set to false when a non-fatal error occurs during execution of a DialogScript command or function. It returns 1 (true) if OK is true, otherwise the function returns null (false).
OK
Unchanged.
Example
IF @OK()
REM Do something useful
ELSE
WARN Operation failed!
END