Notifications
Clear all

[Closed] Simple tip to trace value

Hello,
Just posting a tip

With the help of LFShade here 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