Home
Top.Mail.Ru Yandeks.Metrika
Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Down

Write to file. Find similar branches


Socol   (2001-12-15 17:14) [0]

Hello dear gopoda programmers!
Проблема я записываю информацию в файл там полючается какой то гон.
procedure TForm1.Button1Click (Sender: TObject);
type t = record
Name:string[20];
Number:integer;
end;
vAR F:file of t;
A:t;
begin
AssignFile(F, "q.txt");
assignFile(F, "c:\q.txt") ;
rewrite(F);
write(F,A);
end;

procedure TForm1.Button2Click (Sender: TObject);
var A:string;
begin
A := label1.caption
end;

+++ How to download anemia image * .gif +++
I thank everyone who answered!



Art   (2001-12-15 17:28) [1]

Убери первую строчку после begin и используй лучше writeln далее ,чему у тебя равно А при нажатии на кнопку 1???



Pages: 1 whole branch

Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Top









Memory: 0.81 MB
Time: 0.035 c
14-22331
vasco
2001-10-26 17:57
2002.01.08
Are there many left-handers among programmers?


14-22409
Vadim
2001-11-12 13:56
2002.01.08
Or maybe we will not beat each other's hands?


7-22430
AlexK
2001-09-21 12:28
2002.01.08
key lock


1-22210
Man in red
2001-12-15 20:12
2002.01.08
How namut such that ............................


3-21918
SVS
2001-12-04 13:11
2002.01.08
filling in OleContainer from BlobField





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic indonesian Irish italian japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Español swahili Swedish thai turkish Ukrainian urdu vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish