Local data are scratch flags.
The use is to store 'temporary' information in a block, the status of the flags are 'unknown' when the block is first called (every bit could be off or on) and once the block ends they are released for another block to use.
An example of use could be in a calculation, where the L flags can be used to store intermediate parts of the calculations.