Mehmet Erol Sanliturk writes:
Unit and function names DebugPrint are the same .
Pascal is case insensitive . Making their cases different does NOT
make them different .
Please make them different and retry .
Thanks. That worked.
It may help newcomers like myself if this was mentioned on the
On Sun, April 5, 2009 16:03, Francisco Reyes wrote:
Mehmet Erol Sanliturk writes:
Unit and function names DebugPrint are the same .
Pascal is case insensitive . Making their cases different does NOT
make them different .
Please make them different and retry .
Thanks. That worked.
It may
On Sun, 2009-04-05 at 10:03 -0400, Francisco Reyes wrote:
Mehmet Erol Sanliturk writes:
Unit and function names DebugPrint are the same .
Pascal is case insensitive . Making their cases different does NOT
make them different .
Please make them different and retry .
Thanks. That
On Sun, 5 Apr 2009, Francisco Reyes wrote:
Mehmet Erol Sanliturk writes:
Unit and function names DebugPrint are the same .
Pascal is case insensitive . Making their cases different does NOT
make them different .
Please make them different and retry .
Thanks. That worked.
It
Michael Van Canneyt writes:
It may help newcomers like myself if this was mentioned on the ref document.
Just double checked and it does not mention this.
It most certainly does: see the section on reserved words, first paragraph.
In the ref document? Page10? Section 1.3?
Just looked there
Tomas Hajny writes:
Note that although having the unit named equally to a function, procedure
or a variable defined within the unit (or elsewhere) is not really
advisable, it is possible, but you need to take scoping rules into account
Thanks for the note. I wasn't purposedly trying to do it
Tomas Hajny wrote:
Note that although having the unit named equally to a function, procedure
or a variable defined within the unit (or elsewhere) is not really
advisable, it is possible, but you need to take scoping rules into account
when trying to access the function, procedure or variable.
On Sun, April 5, 2009 17:23, Francisco Reyes wrote:
Michael Van Canneyt writes:
It may help newcomers like myself if this was mentioned on the ref
document.
Just double checked and it does not mention this.
.
.
In particular it would be helpful if that note (ie name of fuction and
unit
Trying my first unit and getting an error I can't figure out.
--- unit
unit debugprint;
Interface
function DebugPrint(ProgLevel, CallLevel:integer; MessageIn: string):string;
Implementation
function DebugPrint(ProgLevel, CallLevel:integer; MessageIn: string):string;
begin
if ProgLevel=
Francisco Reyes wrote:
Trying my first unit and getting an error I can't figure out.
--- unit
unit debugprint;
Interface
function DebugPrint(ProgLevel, CallLevel:integer; MessageIn:
string):string;
Implementation
function DebugPrint(ProgLevel, CallLevel:integer; MessageIn:
10 matches
Mail list logo