Does smartBASIC have the ability to Forward Declare a function?
smartBASIC does not have a forward declare ability in the general sense of the term but you are able to declare a function in a .sblib file and then call that function in another .sb file as long as you #include the .sblib file the function is stored in. Many of our smartBASIC modules sample apps use this functionality for easier programming between product lines. You can see an example of this in the "htss.health.thermometer.sensor.custom.sb" file in the Library Import section of the code.