Update directives.md

Add information about the $for_index variable inside the for statement