The given example is C-Script, not Lite-C. int is a data type in Lite-C, not a function. To avoid confusion with the datatype C-Script int() was renamed to integer() in Lite-C.
Always learn from history, to be sure you make the same mistakes again...