Returning a NULL string, Crashes compiler?
#9

Thanks for the replies!

I finally went with creating a null temp string and returning that.
I could have used a reference but that means not simply returning the value straight into a function or assignment, it means a new string variable, and that looks a bit more cluttered to me!

Unfortunately I couldn't just create a 1 or 2 cell array as the return sizes had to match, so I had to create a completely useless 256 cell array!

But oh well, problem solved! In case you're wondering it's for an update to my File Script, that will be posted tomorrow after a full bug test (link in my sig)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)