This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/share/CodeBlocks/lexers/lexer_squirrel.sample

19 lines
311 B
Plaintext
Raw Normal View History

/* The main startup script */
function main()
{
Log(_T("Running startup script"));
// you could set the shortcuts used for the menus
// e.g.:
// SetAcceleratorFor(_T("File|Open"), _T("Ctrl-Alt-O"));
local i = 5;
local s = "Hello world";
ShowMessage(s);
ShowWarning(_T("Bye world"));
return 0;
}