Can I write a program that returns a value to TI-Basic?

Previous TI-Basic and C Next

Q: Is it possible to write a program which will return a value to TI-Basic, i.e. which acts like functions in TI-Basic?

Starting from TIGCCLIB 1.5, this is very easy, and described on the starting page of TIGCCLIB documentation.