DECLARE FUNCTION CALC$ (salary!, bonus!)
CONST False = 0
CONST True = 1
PRINT CALC(32, True)
PRINT CALC(32, False)
FUNCTION CALC$(salary, bonus)
CALC$ = "$" + LTRIM$(STR$(salary * (bonus * 9 + 1)))
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.