🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.lang.pascal
Article #237

Re: Delphi 2.0 でのテキストファイル の

#237
From: Hiroyuki Shimada
Date: Sun, 29 Dec 1996 00:00
32 lines
1764 bytes
 こんにちは。島田です。

Toda Haruo <toda@med.niigata-u.ac.jp> wrote in article <toda-2412961809300001@ph1pc3.med.niigata-u.ac.jp>...
>  やっぱりあんまりです(^^)。
>  わざわざ TEXT なんていう名前のプロパティにしなくてもよかった
> のでは? Delphiユーザが他のPascal処理系使ったり、昔からの教
> 本を使ったりすることを考えていないのでしょうか。

 昔からのスタイルのプログラミングでしたら、Text プロパティは出てこない
(フォームの中だったりクラスを生成したりしない)ので、名前が衝突すること
はありませんから Text 型は問題なく使えます。

cf. test.pas

    program test;
    {$APPTYPE CONSOLE}
    var
        f: text;
    begin
        assign(f, 'test.txt');
        rewrite(f);
        writeln('test of text');
        close(f);
    end.


-----------------------------------------------------------------------
Mail: shimaden@annie.co.jp   Home Page: http://www.annie.co.jp/~shimaden/
Hiroyuki Shimada
島田博幸
-----------------------------------------------------------------------
Technical Details
Message-ID: <01bbf529$6f43d000$LocalHost@shimaden.vision.annie.co.jp>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <32AE80C5.5998@mb1.nkc.co.jp> <E29Fxo.80y@netnews.isl.ntt.co.jp> <32B449DF.3C74@mb1.nkc.co.jp> <toda-2412961809300001@ph1pc3.med.niigata-u.ac.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: ff90a,6ded7bce17dac8ec
X-Google-Attributes: gidff90a,public
From: "Hiroyuki Shimada" <shimaden@annie.co.jp>
Subject: Re: Delphi 2.0 でのテキストファイル の
Date: 1996/12/29
Message-ID: <01bbf529$6f43d000$LocalHost@shimaden.vision.annie.co.jp>
X-Deja-AN: 206586286
references: <32AE80C5.5998@mb1.nkc.co.jp> <E29Fxo.80y@netnews.isl.ntt.co.jp> <32B449DF.3C74@mb1.nkc.co.jp> <toda-2412961809300001@ph1pc3.med.niigata-u.ac.jp>
content-type: text/plain; charset=ISO-2022-JP
organization: Annie Corporation
mime-version: 1.0
newsgroups: fj.lang.pascal