OK, it doesn't work for me, here's my code
function TCPHADataModule.createXML(): boolean;
type
TPart = record
name: String;
size: Integer;
dt: Integer;
end;
const
arry: array[0..1] of TPart = (
(name:'test',size:4,dt:4), /*line 100*/...
ok wait, that doesn't work either... no I have two things that don't work:
type
TPart = record
name: String;
size: Integer;
dt: Integer;
end;
const
cpha30_11: array[0..2] of TPart = (
('A0101', 6, 0),
('A0203', 2, 0),
('A0303', 2, 1)
)
and
const...
Can anyone tell me why this is not ok and what I have to do to make this initialization work? I'm more of a C guy
type
TPart = record
name: String;
size: Integer;
dt: Integer;
end;
const
cpha30_11: array[0..2] of TPart = (
('A0101', 6, 0),
('A0203', 2, 0)...
Hi there, I am writing a application in delphi which needs to receive data over a modem. My question is, is there a way to read the data from the modem and store it in a variable for manipulation? thanks
Hi guys, I'm trying to use the async component library to read data coming in from a modem. Does anyone know how I get get the data and store it in a string for manipulation? Thanks
Does anyone see anything wrong with this code?
CALL:
printDetailLine(0,szLine,0);
(szLine is a zero-terminated string)
FUNCTIONS:
inline LOGIC Report::printDetailLine( int dummy, ... )
{
va_list argptr;
LOGIC bStatus;
va_start( argptr, dummy );
bStatus =...
I want to compare the value of a file pointer after subsequent operations. I have a situation where I have a FILE* as a private member of a class and it doesn't seem to be retaining its value between member functions. So:
How do I display the value of a file pointer?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.