Home
Description
FAQ
Macros & Tips
Download
Order
 About this Website
Weblinks
 
 Unload Frameset
Reload Frameset

Macros and Tips


Logo Summary
The following topics are currently available:
 
Logo Tutorials
Logo Integration of compilers
Logo Macros for automation
Logo Tools define
Logo Templates

If you have made an adjustment for compiler, another tool or any helpful macro, which does not appear yet in this list, we would be pleased, if you would dispatch us this, so that we can publish it here.
 
 
 
Logo Tutorials
File
Size
Description
FM_tut.txt

V1.54

12,5 kB
Short tutorial to introduce in FoldMaster. The short tutorial is stored as a plain text file.
FM_Macros_e.zip

V1.00

909 kB
An Introduction to writing macros for FoldMaster. Including a tutorial in PDF format and a macro example.

back to the summary
 
 
 
Logo Integration of compilers
In the following you find some macro modules, which permit the integration of compilers, assemblers and linkers. The modules contain everything around a project to translate.

To install a macro module download the appropriate file and unpack it in the subdirectory macros in your FoldMaster installation directory.

Integration in FoldMaster:

Select from the menu "Macros" the item "Show modules". The dialog for displaying the macro modules is opened. With the "Add" button you can select the appropriate file.
The file should appear in the list of the known macro modules. Select the module and activate the "Execute" button. The module is translated automatically and executed with each start of FoldMaster. The macros check then each time whether the appropriate tools are installed and sets also necessary environment variables.
With the first start of the macro it asks for the installation path of the tool. For this reason the Tool should be already installed, when you execute the macro. The installation path is stored in a global variable. Delete these, if the installation directory changed.

Compilers order over various adjustment possibilities. For this reason it cannot be guaranteed that the Tools on your computer runs at first attempt. However you can adapt the macros to your special requirements.

Additionally to the installation of the tools, the transfer filters for this Tools are also defined, so that error outputs at the message window appear and branching is enabled to the incorrect line in the source file.

For the indicated versions the macros are tested. If you use another version, it can be necessary to adapt the macros and the transfer filters.
 
Macro Size Description
oc_tools.pas 11,4 kB OCCAM Tool set, version 2.1, from October, 30th 1995
Copyright (C) SGS THOMSON Microelectronics Limited 1995
mri_tools.pas 10,4 kB Microtec C compiler version 4.4
java.pas 6,2 kB JAVA JDK 1.1.8
Copyright (C) 1994-1999 Sun Microsystems, Inc.
dsp_tools.pas

makelink.pas

6,0 kB

1,3 kB

GNU C/C++ Compiler for Motorola DSP56300
GNU General Public License.
Motorola DSP56300 Tools Version 6.2.0
Copyright(c) 1993-1997 Motorola
MakeLink.PAS can be implemented in the make fold of a project file to create a command file for the linker.
iar_avr_c.pas 5,7 kB Useful to include the IAR C-Compilers (icca90.exe) for Atmel AVR-Processors.
cascon166e.zip

V1.66
 

124 kB Macro, bitmaps, template and HTML-description to use FoldMaster with the boundary scan test system Cascon V4.2.1 from Goepel electronic GmbH. Older V3.44 and V4.xx are still supported.
It supports German and English user interface.
Uses the DLL interface of Cascon.
Provides syntaxfilter and templates for Caslan and all important types of files.
Using two sets of reserved words for CASLAN.
You need FoldMaster Version 1.62 or above.

back to the summary
 
 
 
Logo Macros for automation
In the following table you find some macro modules, which are helpful in the daily work. In most cases you integrate the modules as described above, so that they are executed when starting FoldMaster. The modules extend the menu "Macros" by the respective entries.
 
Macro Size Description
ProExp.pas 34,2 kB Macros for automation within projects, e. g.
- the creation of modules (for C/C++) and header file
- backup of all files from the project
- determination of the file sizes of all files within the project
For archiving a packing program is needed. In this version use the free utility "infozip", which is available at many Freeware and Shareware CD's. The Tool must be already installed before the first execution of the macro.
You need FoldMaster Version 1.53 or above.
C_Tools.pas 8,1 kB Macros for C/C++ Programmers.
AutoFold
Pascal.pas
9,9 kB This macro includes two tools which are entered in the "Macros" menu. The macros are used to auto-fold pascal files.
You need FoldMaster Version 1.52 or above.
AutoFold
C_CPP.pas
10,9 kB This macro includes two tools which are entered in the "Macros" menu. The macros are used to auto-fold C / C++ files.
You need FoldMaster Version 1.52 or above.
PrjStats.pas 8,7 kB This macro includes two tools to determine statistic values of a single file or over the whole project.
These are:
- number of files of the project
- number of "lines of code"
- number of "lines with comments"
- number of "bytes in files"
The evaluations are written to a file. 
You need FoldMaster Version 1.53 or above.
RCS_Tools.pas 46,6 kB This macro includes GNU- RCS into FoldMaster. The macro is tested with version 5.6.4 of RCS. 
The GNU- RCS is free software under the terms of the GNU General Public License.
You need FoldMaster Version 1.50 or above.
Tags.pas

V1.62

26,4 kB This macro includes GNU- ETAGS into FoldMaster. ETAGS is scanning your source files and create different tags. These tags are pointing to the definitions of the functions and macros. FoldMaster generates a database using these outputs. If you change the source files FoldMaster suggests to bring up to date the database.
The GNU- ETAGS is free software under the terms of the GNU General Public License.
You need FoldMaster Version 1.61 or above.
Indent.pas 5,2 kB This macro includes GNU- INDENT into FoldMaster. Indent can format C source files using a set of parameters.
The GNU- INDENT is free software under the terms of the GNU General Public License.
Comment.pas

V3.1

26,8 kB This macro was provided by a customer.
It provides a function to change all lines inside a fold (and all included subfolds) to comment. All changed lines are marked with a label for back conversion. Another function converts all lines back from comment to normal text.
You need FoldMaster Version 1.62 or above.
Keymap.zip

V10.01

4,6 kB This macro changes the keyboard layout of FoldMaster. Some standard hotkeys are defined, like <Ctrl+A> to select all. An additional function provides a fast way to (un)comment selected source code.
You need FoldMaster Version 1.63 or above.

back to the summary
 
 
 
Logo Tools define
In the following table you find macro modules, which serve in the definition of different Tools. For installation you include the appropriate module in the dialog of the macro modules translate it and execute the module. The appropriate Tool is generated. By saving the options the tool is stored in the options of the editor and is available at every start of FoldMaster. Renewed executing of the macro is not necessary.
A prerequisite for some macros is the fact that the macro module "TxMacs.pas" is executed when starting FoldMaster and with the call of the tool is loaded. This macro is included in the FoldMaster download and there is normaly no need to download it separately.
 
Macro Size Description
TxMacs.pas 5,9 kB This macro is prerequisite for some other macros.
ToolDos.pas 0,8 kB Enables the call of a commandline window from the tool menu
ToolGrep.pas 1,2 kB If you have the tool grep or a compatible tool, you can call it from the editor with the help of these tooldefinition. The outputs are rerouted into the message window which enables displaying the found passages in the source file.
ToolFind.pas 2,2 kB This macro integrates the tool FindStr from the system directory to FoldMaster. The program searches in files for a string in the current directory only.

back to the summary
 
 
 
Logo Templates
The following templates can be included in FoldMaster. They may replace the existing templates and offer a other syntax styles (in C/C++). You should copy the templates into the "template" directory of your FoldMaster installation. Templates are made familiar to FoldMaster using the options of a syntaxfilter.
 
Template Size Description
Cpp2.Tpl 4,8 kB Templatefile for C++ providing K&R style.

back to the summary
 
 

Home
Description
FAQ
Macros & Tips
Download
Order
 About this Website
Weblinks
 
 Unload Frameset
Reload Frameset