无法为没有左侧的 DOT/COLON (./:)表达式找到 WITH 语句。
当编译器在 WITH 语句之外发现 DOT/COLON (./:)表达式时,将产生此错误。
在 FoxPro 方言中,该错误可能会被警告 XS9108 取代
FUNCTION Start as VOID
LOCAL oError as Error
TRY
oError := Error{}
WITH oError
:Description := "Some Test" // 正确,在 WITH 块中
:GenCode := EG_ARG
END WITH
:SubCode := 12345 // Error XS9082 here because this is outside of the WITH block
THROW oError
CATCH e as Error
? e:ToString()
END TRY
RETURN