Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

function debug

Frosty Fox
Registered User
Join date: 28 Feb 2005
Posts: 18
09-06-2006 14:22
this may seem pointless to some, but i find it very usefull for debugging


integer DEBUG = TRUE;

debug(string in)
if(DEBUG)llOwnerSay("free mem="+(string)llGetFreeMemory()+" debug="+in);

the point ?
you can turn it on/off :)
Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
Discussion Thread
09-10-2006 13:29
i've got nothing. ;)