Updated the sequence.write() user function.
Authored by: bugman 2008-04-10
Parent: [r5541]
Child: [r5543]