Help with use of variable in code
rodrigo7
Brasil
This is my code:
procedure SaldoAnteriorOUT_SALDOOnBeforePrint(Sender: TfrxComponent);
begin
<SaldoAtual> := 0;
end;
procedure lbl_ValorLancamentoOnAfterData(Sender: TfrxComponent);
begin
<SaldoAtual> := <SaldoAtual> + Value;
end;
SaldoAtual is a variable
I get "';' expected error, what is wrong?
procedure SaldoAnteriorOUT_SALDOOnBeforePrint(Sender: TfrxComponent);
begin
<SaldoAtual> := 0;
end;
procedure lbl_ValorLancamentoOnAfterData(Sender: TfrxComponent);
begin
<SaldoAtual> := <SaldoAtual> + Value;
end;
SaldoAtual is a variable
I get "';' expected error, what is wrong?
Comments
procedure SaldoAnteriorOUT_SALDOOnAfterData(Sender: TfrxComponent);
begin
Set('SaldoAtual', 0);
end;
procedure lbl_ValorLancamentoOnAfterData(Sender: TfrxComponent);
begin
Set('SaldoAtual', Get('SaldoAtual') + Value);
end;