Return Parameter from a function to another function

Im moving the app discussion into new topic - New App: Integration with HoneyWell TotalConnect Alarm & Monitoring System where I will provide regular updates on development of it