# Built-in functions

Aside from class methods and properties of the script language, VMProtect offers to a user various functions to perform basic operations. There are general system functions to work with strings, dates and numbers, process the command line of an application and display messages; and specialized functions to work with the VMProtect core and watermarks:

- string
- table
- math
- bit32
- io
- os
- vmprotect

    namespace vmprotect {
    	Core core(); // returns the VMProtect core
    	string extractFilePath(string name); // extracts the path of a file
    	string extractFileName(string name); // extracts the name of a file
    	string extractFileExt(string name); // extracts the extension of a file
    	table commandLine(); // returns the command line
    	FFILibrary openLib(string name); // opens a library
    };

© 2006-2015 Copyright VMProtect Software