VirtualVariable Groups

If you are writing a third party unit that makes use of the Basilisk for Cobra Library, you may run into conflicts with any program that also makes use of the library in addition to your unit.

It is therefore recommended that you use VirtualVariable Groups for your unit.

When using MapVirtual<Type>, ReadSettings or FreeVirtualVariables, specify a group number for your unit. This number should be between 100 and 1000. You should also prefix your unit's virtual variables with a common prefix such as "unitname_" to avoid FreeVirtualVariablesPrefixed conflicts.

This enables users of the Basilisk Unit to write code that won't free eachother's virtual variables, for example.