If you have a (*.chm) which explains something based on keyword index, then you can set up user tools to look up keyword you just have typed in without escaping from the Editor.
The following example shows how to set up 'User Tools' to use Win32API help file. Let´s assume that you extracted the Win32API help file (Win32.chm) in the following directory. C:\Win32API\Win32.chm
- Open Preferences dialog box and select User Tools page
- Select an empty slot and fill with the following arguments.
- Menu Text: Win32API Context Help
- Command: C:\Win32API\Win32.chm
- Argument: $(CurrWord)
- Initial dir: $(FileDir)
- Hot key: F1
- Close on exit: Yes
- Save before execute: No
After that, you can press F1 to see the search index when the caret is on the word you want to look up.
If you want to a online service to look-up a word which you have just typed in without escaping from the Editor, then
- Open Preferences dialog box and select User Tools page
- Select an empty slot and fill with the following arguments.
- Menu Text: Online Service
- Command: C:\Program Files\Mozilla Firefox\firefox.exe
- Argument: https://dictionary.cambridge.org/spellcheck/english/?q=$(CurrWord)
- Initial dir: $(FileDir)
- Hot key: Ctrl+F1
- Close on exit: Yes
- Save before execute: No
After that, you can press Ctrl+F1 to see the contents when the caret is on the word you want to look up.
- Download Borland C++ 5.8.2 compiler.
- Unzip it to c:\borland\bcc582
- Make sure that the directory containing bcc32.exe is in your system environment path. bcc32.exe is located in the \bin subdirectory of the c:\borland\bcc582.
- Make sure that there is a bcc32.cfg and a ilink32.cfg file in the \bin subdirectory of your compiler. Its needed to set the compiler options for the Include and Lib paths. This is what the files should contain:
bcc32.cfg
1 2 |
-I"c:\borland\bcc582\include;c:\borland\bcc582\include\dinkumware" -L"c:\borland\bcc582\lib" |
1 |
/L"c:\borland\bcc582\lib" |
- Open Preferences dialog box and select User Tools page
- Select an empty slot and fill with the following arguments.
- Menu Text: Compile C++ with BCC
- Command: C:\Borland\bcc582\bin\bcc32.exe
- Argument: $(FileName)
- Initial dir: $(FileDir)
- Hot key: Ctrl+F7
- Capture output: Yes
- Save before execute: Yes
After that, you can press Ctrl+F7 to compile code with Borland C++.
1 |
git clone git: //github .com /gituser/repository_name |
Now you shoud have a repository copy in you computer, can then configure, make and make install if you wish.
1 |
cvs -z3 -d:pserver:anonymous@repository_name.cvs.sourceforge.net: /cvsroot/repository_name co -P modulename |
Now you shoud have a repository copy in you computer, can then configure, make and make install if you wish.
1 |
rsync -ai a.cvs.sourceforge.net::cvsroot /repository_name/ /my/local/dest/dir/ |
Now you shoud have a repository copy in you computer, can then configure, make and make install if you wish.
Open the PTSource Shell and issue the command :
1 2 |
cd Birds freewrap birds.tcl |
Open the main application file, in this case main.tcl and before package require BWidget add:
1 |
lappend auto_path /PTSOURCE/Platform/PTEditor/lib/tcl8 .4 /bwidget/ |
1 2 3 4 5 |
cd .. cd samples cd tcltk cd bwidget freewrap main.tcl -f bwidget.db |
Open the PTSource Shell and issue the command :
1 2 3 4 |
cd .. cd samples cd python pyinstaller --noconsole ftp .pyt |
1 |
depends exetocheck.exe |
You will get a list of the exe dependencies
The included 'tiny_impdef' program may be used to make additional .def files for any DLL. For example:
Open the PTSource Shell and issue the command :
1 |
tiny_impdef opengl32.dll |
Put opengl32.def into the tcc/lib directory at “C:\PTSOURCE\Platform\PTEditor\bin\lib”.
Specify :
1 |
#pragma comment (lib, "opengl32") |
1 |
tcc -lopengl32 yourprogram.c |
1 |
tcc -shared -lopengl32 yourprogram.c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
workspace "MyWorkspace" configurations { "Debug" , "Release" } project "MyProject" kind "ConsoleApp" language "C++" files { "**.h" , "**.cpp" } filter { "configurations:Debug" } defines { "DEBUG" } flags { "Symbols" } filter { "configurations:Release" } defines { "NDEBUG" } optimize "On" |
1 2 3 4 5 6 7 |
$ premake5 vs2015 Building configurations... Running action 'vs2015'... Generating MyWorkspace.sln... Generating MyProject.vcxproj... Generating MyProject.vcxproj.user... Done. |
1 2 3 4 5 6 7 |
$ premake5 gmake Building configurations... Running action 'gmake'... Generating MyWorkspace.sln... Generating MyProject.vcxproj... Generating MyProject.vcxproj.user... Done. |
- Microsoft Visual Studio 2008-2015
- GNU Make, including Cygwin and MinGW
- Xcode
- Codelite
Premake generated projects can support:
- 32- and 64-bit builds
- Xbox 360 (Visual Studio only)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
js> function test () { print( 'test' ); } js> test function test () { print( "test" ); } js> test (); test js> function test () { print( 'test' ); test2(123); } js> function test2(param) { print ( 'test2: ' + param); } js> test (); test test2: 123 js> |
To exit the shell, just press Ctrl+C.
1 2 |
gendef.exe csfml-graphics-2.dll dlltool.exe -d csfml-graphics-2.def -D csfml-graphics-2.dll -l libcsfml-graphics.a |