Menu

problem with user defined lang

2008-07-23
2012-11-13
  • Nobody/Anonymous

    Hello,

    I want to define a section in my own language.
    The 'block' will begin with the 'begin' command and end with 'end'.
    I added both wich work, buth when there is a begin or end string on a line, as normal text, it will also be seen as begin or end of a block.
    Could someone tell me how to exclude this problem.
    An 'end' of a 'block' will always been followed by a newline.
    thanks in advance

     
    • sturkel

      sturkel - 2008-08-07

      is there nobody who can help me with this irritating problem?

       
    • Nobody/Anonymous

      just add a comment with the word end in it

       
      • Nobody/Anonymous

        I don't understand your reply.
        This example will show my problem:

        SFileBegin
        name file.ext
        begin xxx function
          do something
          read file from begin to end
        end
        #@!

        I put 'SFileBegin' and 'begin' into the Folder+
        and '#@!' and 'end' in Folder-

        The problem is in the fifth line, which contains the word end

        I hope that this example is clear enough