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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Type Garbage Out

Status
Not open for further replies.

Glenn9999

Programmer
Jun 19, 2004
2,312
US
I'm trying to call a function that has a Int64 result, and I'm getting reasonably decent results. Problem is that I really need to just be able to use 8 bytes of data (e.g. array[1..8] of byte) for some proper post-processing. The problem is that I get different/garbage results. Any ideas on why this is, that maybe I haven't tried in debugging this?

Basically:
Code:
function this: Int64;

begin
  value := this;
end;

Code works where value is Int64, but the problem is that value can't be Int64 for what I have to do.

It is not possible for anyone to acknowledge truth when their salary depends on them not doing it.
 
Nevermind.

It is not possible for anyone to acknowledge truth when their salary depends on them not doing it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top