rejetto forum

Working with the old syntax under build 181

Mars · 2 · 2799

0 Members and 1 Guest are viewing this topic.

Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
Rejetto, you can add one option in MENU-DEBUG

'Allow old Macros'

above Enable Macros.log

Quote
CODE
     object highSpeedChk: TMenuItem
        AutoCheck = True
        Caption = 'Experimental high speed handling'
        Checked = True
      end
      object macrosOldChk: TMenuItem
        AutoCheck = True
        Caption = 'Allow old Macros'
      end

      object macrosLogChk: TMenuItem
        AutoCheck = True
        Caption = 'Enable macros.log'
      end

Quote
CODE
    macrosLogChk: TMenuItem;
    macrosOldchk: TMenuItem;

Quote
CODE

  function add2diff(s:string):boolean;
  begin
  result:=FALSE;
  if s = '' then exit;
  if mainfrm.macrosOldchk.checked then convertNewMacroSyntax(s);    //added by mars
  diff:=s + ifThen((diff > '') and not isSectionAT(@diff[1]), '[]'+CRLF) + diff;
  result:=TRUE;
  end; // add2diff


It is by waiting to convert all the templates.

to test this: http://hfs.webhop.org/hfs-build-180-by-mars.zip


rejetto-unlogged

  • Guest
i will just put an autoconverter for the diff tpl as it is now for the main tpl.
transparent to the user.
thanks for reporting.