anchor.diff:  
   procedure TfmMain.DoPyCommand_Cudaxlib(Ed: TATSynEdit; const AMethod: string;
     AInvoke: TATEditorCommandInvoke);
  -var
  -  Params: TAppVariantArray;
   begin
     Ed.Strings.BeginUndoGroup;
     try
  -    SetLength(Params, 0);
  -    DoPyCommand('cudax_lib', AMethod, Params, AInvoke);
  +    DoPyCommand('cudax_lib', AMethod, [], AInvoke);
     finally
       Ed.Strings.EndUndoGroup;
     end;
  
positive.code: var
    SData: string;
    NCmd: integer;
    Params: TAppVariantArray;
  begin
    //str(int_command) or callback string
    SData:= (Sender as TATButton).DataString;
  
negative.code: var
    Sep: TATStringSeparator;
    SModule, SProc: string;
  begin
    Sep.Init((Sender as TMenuItem).Hint);
    Sep.GetItemStr(SModule);
    Sep.GetItemStr(SProc);
    DoPyCommand(SModule, SProc, [], cInvokeAppToolbar);
  end;
  
  
  