### Clue: Dress code, of a sort — a warning, of course (8)
### Answer: PINAFORE 
 ### Explanation: Definition: Dress

**PIN** (Personal Identification Number, so "code, of sort") + **A** + **FORE** ("a warning" on a golf "course")