104 |
|
function getAsString: AnsiString; |
105 |
|
function getAsByte: byte; |
106 |
|
procedure addByte(aValue: byte); |
107 |
+ |
procedure addShortInt(aValue: ShortInt); |
108 |
|
procedure addShortInteger(aValue: integer); |
109 |
|
procedure setAsByte(aValue: byte); |
110 |
|
procedure setAsByte2(aValue: byte); |
394 |
|
end; |
395 |
|
end; |
396 |
|
|
397 |
+ |
procedure TParamBlockItem.addShortInt(aValue: ShortInt); |
398 |
+ |
var len: integer; |
399 |
+ |
P: PByte; |
400 |
+ |
begin |
401 |
+ |
with FParamData^ do |
402 |
+ |
begin |
403 |
+ |
P := FBufPtr + FBufLength; |
404 |
+ |
len := FBufLength + 1; |
405 |
+ |
FOwner.UpdateRequestItemSize(self,len); |
406 |
+ |
PShortInt(P)^ := aValue; |
407 |
+ |
end; |
408 |
+ |
end; |
409 |
+ |
|
410 |
|
procedure TParamBlockItem.addShortInteger(aValue: integer); |
411 |
|
var len: integer; |
412 |
|
P: PByte; |