Syntax

String.s = dbProgramFilename()

Description

PureBasic's native ProgramFilename will not return the correct application name when compiling without the debugger. dbProgramFilename should be used instead.