Page 1 of 1

Posted: 12 Feb 2010, 11:37
by woodslanding
Is there a method to turn a boolean into a string? Or better yet a bTrace method?

can't find anything in the help....

Posted: 12 Feb 2010, 12:24
by bsork
Something like this?

Code: Select all

PROCEDURE bTrace(b : Boolean);
BEGIN
   IF (b) THEN sTrace('TRUE')
   ELSE sTrace('FALSE');
END;

Posted: 12 Feb 2010, 20:39
by woodslanding
well, yeah, I just hate putting it into every script.... thought there might be a first class method....