delphi res 문자열 자원

6398 단어 Delphi
//res  
//rc :
StringTable
begin
0 "AAAA"
1 "BBBB"
2 "CCCC"
3 "DDDD"
end

// :
StringTable
begin
0, "AAAA"
1, "BBBB"
2, "CCCC"
3, "DDDD"
end

// :
StringTable
{
0,"AAAA"
1,"BBBB"
2,"CCCC"
3,"DDDD"
}


{ : STRINGTABLE DISCARDABLE}


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

// :

unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls;

type
  TForm1 = class(TForm)
    Memo1: TMemo;
     procedure FormCreate(Sender: TObject);
   end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
begin
  Memo1.Clear;
   with Memo1.Lines do
   begin
    Add(LoadStr( 0));
    Add(LoadStr( 1));
    Add(LoadStr( 2));
    Add(LoadStr( 3));  
   end;
end;

end.

Wiz

좋은 웹페이지 즐겨찾기