Contents   Index   Previous   Next



sp_type.ini

In this file you define the spelling of the type information that gets pasted into PB.

Its structure:

[PrePost]

; ----------------------------------------------------------

; section for prefixes and postfixes

; what comes in front of the local variable

LocalVarPre=l

LocalVarPost=_

 

[Names]

; ----------------------------------------------------------

; how to write the certain class names + which prefix to use

; usage: <type in proper case>=<prefix>

Integer =i

The section [PrePost] is used for the §retvar§ macro (see Generic Macro §retvar§), whereas the section [Names] is used whenever classes or standard data types get pasted into PB. The left part is used for the proper type spelling, the right part defines the prefix for a variable of this type.

A template sp_type.ini-File gets delivered with SmartPaste, but you can adjust it and expand it yourself as you wish.

You define the location of the sp_type.ini-File in the options dialog, this enables you to keep a single central sp_type.ini for all programmers therefore increasing consistency of type/class spelling throughout your project.