suve

awful: function: file-includes

declaration

array :file-includes

summary

Returns an array containing the names of all included files. Note that the array does not contain the main script.

example

# :file-includes example
!include s"myFunctions.yuk"
!include s"otherFunctions.yuk"

:writeln s'Included files: '
:set &INC :file-includes
:set &i i0
!while :lt $i :arr-count &INC
   :writeln $INC[$i]
   :add &i i1
!done

wikistrona zmodyfikowana 2014/0601/2317