Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

constant and debugger

Status
Not open for further replies.

igos

Programmer
Feb 10, 2004
5
US
Does anyone know if there is a problem passing a constant through 2 or more procedures?

For instance:
myCall('Hi);

procedure myCall(const theStr :string);
begin
myCall2(theStr);
end;

procedure myCall2(const theStr :string);
begin
// debug here
showMessage(theStr);
end;

The debugger does not seem to show the correct information.
Anyone know what is going on? Or this just soemthing to avoid?

Thanks,
Igos
 
No problem at all in D6.

buho (A).

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top