The commonly recommended way to use text item delimiters is like this:
set tid to AppleScript's text item delimiters
set AppleScript's text item delimiters to "x"
set l to text items of "aaxbb"
set AppleScript's text item delimiters to tid
l
I usually do something like this though:
set text item delimiters to "x"
text items of "aaxbb"
http://macscripter.net/viewtopic.php?id=24725:
It is important to pay attention to the message: "ALWAYS SET THEM BACK". AppleScript remembers its delimiters setting. Even if you open a new second script in the Script Editor, the delimiters you set in the first will apply in the second.
I haven't been able to reproduce it though. Did the behavior change in some version of OS X?
AppleScript: The Definitive Guide:
The value of the text item delimiters persists as long as this instance of the AppleScript scripting component does. Because you might run more than one script in the presence of this scripting component, any of which might set the text item delimiters, it is wise to make no assumptions as to the value of the text item delimiters.
Is this still the case, or can you give any examples where the text item delimiters property affects other scripts?