Can you demonstrate the issue? I have never heard of this. imports should work when done inside a function.-Steve
Tried and failed to reproduce with a simple example, but any time I've tried doing it in the code I'm working on I get Symbol Undefined errors which I had to fix by moving imports out of struct/class methods.