I use 'C::B r7809'
1- I load a workspace named 'Normal' which becomes the current workspace
'Normal' is displayed in the tab Projects of the Management panel
2 - I load this script in the console to retrieve the name of the workspace
function nameWS() {
/// name *.workspace
local nameWS = ReplaceMacros(_T("$(WORKSPACE_NAME)") ) + ::DOT_EXT_WORKSPACE;
local filenameWS = ReplaceMacros(_T("$(WORKSPACE_FILENAME)") );
::print(nameWS)
::print(filenameWS)
}
3- I run the script by typing by hand: : 'nameWS()'
4- I get the following results:
Normal.workspace
default.workspace
according to http://wiki.codeblocks.org/index.php?title=Variable_expansion#Code::Blocks_workspace (http://wiki.codeblocks.org/index.php?title=Variable_expansion#Code::Blocks_workspace)
I should have:
Normal.workspace
Normal.workspace
Is this correct or a mistake?