I started the IDE from terminal. So I saw a lot of warning messages. Here we go... hroudtwolf@hroudtwolf-blackbox:~/Programme/purebasic/purebasic/compilers$ ./purebasic `menu_proxy_module_load': ./purebasic: undefined symbol: menu_proxy_module_load
My little feature request is a "#PB_Compiler_Module" constant.
Like #PB_Compiler_Procedure contains the name of the current procedure, #PB_Compiler_Module should contain the name of the current module.
Explain. I don't understand why you've coded your procedure like that.
Your procedure creates the regex object new on each call. To use the same object ID initiates the objectmanager to destroy the old object and create a new again and again. Thats wasting of CPU power. I know... it is not that ...
My recommendation. Procedure.s RemoveExtension(sFilename.s) Static idRegEx.i
; Object recycling. If Not (idRegEx) idRegEx = CreateRegularExpression(#PB_Any , "(?<!\A)\.[\w]+\Z") If Not (idRegEx) ProcedureReturn sFilename EndIf EndIf ...