我必须知道这里使用的语言。我们用哪种语言将变量定义为$ value = x 这种语言有循环控制吗?我需要这些信息,任何人都可以提供吗?
Public sub Annual_Leave()
$Decimal_Output1 = 0 //variables
$Decimal_Output2 = 0
IF @ServiceMonths@ = 1 OR @ServiceMonths@ = 2 THEN
$Decimal_Output1 = 0
ELSEIF @ServiceMonths@ => 3 AND @ServiceMonths@ <= 12 THEN
IF @ServiceMonths@ = 3 THEN
$Decimal_Output1 = 1.7
END IF
ELSE
$Decimal_Output1 = 21
$Decimal_Output2 = 0
END IF
End sub