Welcome to %s forums

BrainModular Users Forum

Login Register

[script] working with booleans

I need help on a Patch
Post Reply
woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 12 Feb 2010, 11:37

Is there a method to turn a boolean into a string? Or better yet a bTrace method?

can't find anything in the help....
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

bsork
Site Admin
Posts: 1334
Location: Asker, Norway
Contact:

Unread post by bsork » 12 Feb 2010, 12:24

Something like this?

Code: Select all

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

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 12 Feb 2010, 20:39

well, yeah, I just hate putting it into every script.... thought there might be a first class method....
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

Post Reply

Who is online

Users browsing this forum: No registered users and 60 guests