Nesting??

Functions stand alone, and can be called from any code module or function. EG:
 Code:
Function F1($stuff)

 $Stuff = $Stuff + 'MoreStuff' ; change stuff
 $Stuff = F2($Stuff)           ; modify stuf some more, via F2()

 $F1 = $Stuff
 Exit 0
EndFunction

Function F2($MyStuff)

  If InStr($MyStuff, 'specialstuff')
    ; do special things to $MyStuff..
  Else
   ' do normal things to $MyStuff
  EndIf

  $F2 = $MyStuff
  Exit 0
EndFunction

Thus - the function declarations are independent, but F1() can call F2(). Heck, F1() can even call F1(), known as Recursion, or Recursive Calling. The DirList UDF is an excellent example of recursive calling that comes to mind.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D