What would i do without [defer]..hm.

woyteg's icon

Hi everybody.
Always if there is something i try to do in max, and sit there for half an hour, trying to wrap my head around it, thinking 'but this really should work'.. there it is! stick a defer object somewhere in there and everything is working correctly. This is specially true for recursive code (it seems to me). I am more or less aware of what defer and deferlow are doing~
But,
Is there a defer, deferlow tutorial out there (i know there was something around..)? More concrete question: What kind of code-structures won't work without them?

edit: most concrete question: How do i get myself out of "try and error mode" using Defer and deferlow?

broc's icon
11OLSEN's icon

excellent link broc! in most cases you intuitively know if your problem is priority-related i think. as time went by i found myself less and less in "try and error mode" with it. fortunately max is so "try and error"-friendly.

Inear's icon

Yes, thank you Broc, very useful link.

woyteg's icon

thanks! that was what i ment.. i remeber myself finding this doc and saying to myself i gotta remember that one.. :)
@11olsen, Yeah try and error mode is getting less by the time, but good docs are .. good to have!
Thanks again!

Roman Thilenius's icon

the main thing what wont work without defer is when you want to send lots of data, say like initialisation processes, the uzi helpfile is also a good example, i.e. you need the low priority thread in order to prevent stack overflow madness.