bstrlib - WIP - tested functions bassign