Orphan function removal

Ask a generic question about the usage of QLC+, not related to a particular operating system
Post Reply
juski
Posts: 50
Joined: Wed Jun 24, 2015 10:28 pm
Real Name: Justin Hornsby

I've been working on roughly the same workspace since I first started using qlcplus & I think I've got a good number of functions that've been orphaned - scenes I don't use on buttons or in any chases etc. Is there an approved (or not approved) way to find them & get rid of them?
User avatar
GGGss
Posts: 3052
Joined: Mon Sep 12, 2016 7:15 pm
Location: Belgium
Real Name: Fredje Gallon

If you trust yourself enough you could have a look into your projectfile. It's plain .xml so any text editor will be oke.
BUT ... don't change something - you will break your projectfile. And take one or two backups before you start.

Now you will have to find out which function is not bound to a button. This won't be that easy unless you could build a correlation between VC controls and functions. I'd try to create a little database and use a RIGHT JOIN to find the orphans (with Isnull() value for joined [function])... but thats not the scope of this forum.
All electric machines work on smoke... when the smoke escapes... they don't work anymore
Post Reply