View Single Post
01-29-12, 10:17 AM   #27
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 822
do-end blocks are used to create a new "local" instance.
Variables/functions used in this block are local to the block.
This way you can have one-time code freed after it has done its job.
__________________
The cataclysm broke the world ... and the pandas could not fix it!
  Reply With Quote