Hi, I need to change the replace command to add a function when he is executed.
  #command REPLACE [ <f1> WITH <x1> [, <fn> WITH <xn>] ]          ;
      [FOR <for>]                           ;
      [WHILE <while>]                         ;
      [NEXT <next>]                          ;
      [RECORD <rec>]                         ;
      [<rest:REST>]                          ;
      [ALL]                              ;
                                      ;
     => DBEval(                             ;
          {|| _FIELD-><f1> := <x1> [, _FIELD-><fn> := <xn>]},   ;
          <{for}>, <{while}>, <next>, <rec>, <.rest.>       ;
         )
  #command REPLACE <f1> WITH <v1> [, <fN> WITH <vN> ]           ;
     => _FIELD-><f1> := <v1> [; _FIELD-><fN> := <vN>]
I need to change to something like that:
=> If ( Â <f1> Â = "RESGISTRO" .Or. <fn> = "RESGISTRO",;
            _FIELD-><f1> := <v1> [; _FIELD-><fN> := <vN>],;
            _FIELD-><f1> := <v1> [; _FIELD-><fN> := <vN>];
            REGISTRA())Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2
xHarbour 1.2.3 + Fwhh 20.2