ctkTools

        This module provides the processes of the menu item Tools

Programming notes

Start session resp. projects on linux
        - start session from the terminal
          $ env PERL5LIB='/opt/ActivePerl-5.8/lib' perl -w ctk_w.pl -d
        - start terminal and start session
          $ xterm -e env PERL5LIB='/opt/ActivePerl-5.8/lib' perl ctk_w.pl
        - start session and exec project
          $ xterm -e env PERL5LIB='/opt/ActivePerl-5.8/lib' perl project/t_demoArgList.pl
        Note: env command is used to select a specific perl version.

Maintenance

        Author: MARCO
        date:   01.01.2007
        History
                        05.12.2007 refactoring
                        19.12.2007 version 1.03
                        13.03.2008 version 1.04
                        18.03.2008 version 1.05
                        14.04.2008 version 1.06

_do

        Execute the given command
                - save the project
                - build the command
                - launch the process
                - get the status code
                - and return it

_edit

        Start the editor defined in $curEditor

_syntax

        - Check the syntax of the target code.
        - Issue a dialog box depending on the status code of the process
        - Output of the check is on the STDOUT stream

_run

        - Execute (run) the target code of the project while the clickTk session.
                -check the OS
                -issue a command to start the Perl interpreter
        - Always return UNDEF.

Back to index