Board index » delphi » D3's help is really very helpful

D3's help is really very helpful

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
For 99 out of 100 times, I don't see any useful example code.
But today, I found out this helpful page which all of you might
benefit.
(this is directly copy from the help screen)

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Example

In the example the variable has been declared as "Counter", but used
as "Count". The solution is to either change the declaration or the
places where the variable is used.

program Produce;
var
  Counter: Integer;
begin
  Count := 0;
  Inc(Count);
  Writeln(Count);
end.

In the example we have chosen to change the declaration - that was
less work.

program Solve;
var
  Count: Integer;
begin
  Count := 0;
  Inc(Count);
  Writeln(Count);
end.

 

Re:D3's help is really very helpful


wow!?!...
- William

            -->   will...@juno.com
                         and/or
            -->   awill...@aol.com

Re:D3's help is really very helpful


double wow wow

Other Threads