Ignore:
Timestamp:
Feb 21, 2007, 4:28:48 AM (18 years ago)
Author:
alloc
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • oup/current/Tools/BinEdit.pas

    r105 r111  
    3434    procedure LoadDat(_fileid: Integer);
    3535    function Save: Boolean;
    36     function GetValue(datatype: Word; offset: LongWord): String;
    37     procedure SetNewValue(datatype: Word; offset: LongWord; Value: String);
     36    function GetValue(datatype: Word; offset: Integer): String;
     37    procedure SetNewValue(datatype: Word; offset: Integer; Value: String);
    3838
    3939    procedure WriteStructureInfos;
     
    179179
    180180
    181 function TForm_BinEdit.GetValue(datatype: Word; offset: LongWord): String;
     181function TForm_BinEdit.GetValue(datatype: Word; offset: Integer): String;
    182182var
    183183  Data: TByteData;
     
    274274procedure TForm_BinEdit.WriteStructureInfos;
    275275var
    276   i, j:    LongWord;
     276  i, j:    Integer;
    277277  pdata:   PNodeData;
    278278  Data:    TNodeData;
     
    376376  Data:  TByteData;
    377377  str:   String;
    378   Value: LongWord;
     378  Value: Integer;
    379379  floatformat: TFormatSettings;
    380380begin
     
    489489var
    490490  mem:  TMemoryStream;
    491   i:    LongWord;
     491  i:    Integer;
    492492begin
    493493  case MessageBox(Self.Handle, PChar('Save changes to file ' +
     
    671671var
    672672  Name:  String;
    673   Value: LongWord;
     673  Value: Integer;
    674674begin
    675675  Name := TMenuItem(Sender).Name;
     
    856856
    857857
    858 procedure TForm_BinEdit.SetNewValue(datatype: Word; offset: LongWord; Value: String);
     858procedure TForm_BinEdit.SetNewValue(datatype: Word; offset: Integer; Value: String);
    859859var
    860860  Data: TByteData;
     
    923923procedure TForm_BinEdit.value_viewerDblClick(Sender: TObject);
    924924var
    925   offset:     LongWord;
     925  offset:     Integer;
    926926  datatype:   Word;
    927927  objectname: String;
Note: See TracChangeset for help on using the changeset viewer.