On Tue, Jan 04, 2011 at 01:27:26PM +, Frank Church wrote:
Is there a tool to list all the string literals in your application?
I want to list all the strings in my app and save them in a file or look up
table from which I can change them or translate them
to a different language if
On 04/01/2011 14:27, Frank Church wrote:
Is there a tool to list all the string literals in your application?
You might want to look at Pascal Analyzer. I think one of its tools
lists all strings (Literal Strings Report). See here:
On 04/01/2011 13:27, Frank Church wrote:
Is there a tool to list all the string literals in your application?
What about code explorer? It has a secion code observer, which has
unnamed constants.
It's not only strings, true, it's other types too. But it is easy to
distinguish the strings.
Is there a tool to list all the string literals in your application?
I want to list all the strings in my app and save them in a file or look up
table from which I can change them or translate them
to a different language if necessary.
Is there some app to do that?
--
Frank Church
On linux you have a command named strings
$ strings app
Ido
LINESIP - Opening the source for communication
http://www.linesip.com
http://www.linesip.co.il
2011/1/4 Frank Church vfcli...@gmail.com
Is there a tool to list all the string literals in your application?
I want to list all
2011/1/4 ik ido...@gmail.com
On linux you have a command named strings
$ strings app
Ido
Is there some Lazarus/FPC related app to do that?
I am interested in one that parses the source code rather than the
executable.
Can some development related utility find all the string literals and
If you are using resourcestring, then FPC extract an rst file for that. If
you wish to have all of the strings extracted, then there is none that I
know of.
Ido
LINESIP - Opening the source for communication
http://www.linesip.com
http://www.linesip.co.il
2011/1/4 Frank Church
I am interested in one that parses the source code rather than the
executable.
Can some development related utility find all the string literals and print
out their line numbers?
sed -n /'/= source.pas
sed -n /'/{=;p} source.pas
sed -n /'/{=;s/[^']*\('[^']*'\)[^']*/||| \1 /gp} source.pas
I
Frank Church schrieb:
Is there some Lazarus/FPC related app to do that?
You can use the FPC preprocessor and change the filter to output the
string literals.
I'm not sure about the state of the preprocessor in the SVN. If it
doesn't work with option -m, ask the FPC developers about the