externe
10-01-2004, 09:05 AM
Hello,
Just posting a tip
With the help of LFShade here (http://www.cgtalk.com/showpost.php?p=1603821&postcount=9) I create this little function :
fn trace nam val =
(
local ss = stringstream nam
format "% = %" nam val to:ss
print ( ss as string )
)
test = 12
trace "test" test
-- output "test = 12"
I know, this is reaaaaly simple tip. But I like this way to output data
Bye
Just posting a tip
With the help of LFShade here (http://www.cgtalk.com/showpost.php?p=1603821&postcount=9) I create this little function :
fn trace nam val =
(
local ss = stringstream nam
format "% = %" nam val to:ss
print ( ss as string )
)
test = 12
trace "test" test
-- output "test = 12"
I know, this is reaaaaly simple tip. But I like this way to output data
Bye
