Are you sure you are asking for the correct thing? Your code already uses 'functions within functions': logMessage is called from within both Active_err and set_all_faults. Just put the bit of code you want in a separate sub and call it just like the logMessage calls.
</naivety>CU
Robartes-
In reply to Re: calling function with function
by robartes
in thread calling function with function
by Arbariya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |