1
Windows 8.1에서 Free Pascal 2.6.4 32 비트를 사용하고 있습니다. TFileStream을 사용하여 파일을 복사하려고합니다.TFileStream에서 Free Pascal 'not recognized'컴파일 오류를 제거하는 방법은 무엇입니까?
program copy;
procedure CopyFile (strFilename : string);
var
SourceF, DestF : TFileStream;
begin
end;
begin
writeln('starting ');
end.
컴파일러는 TFileStream을 인식되지 않은 : 나는 TFileStream을 가지고 있지 않은 사용하여 웹에서 발견
fpc copy_small.pas
Free Pascal Compiler version 2.6.4 [2014/03/06] for i386
Copyright (c) 1993-2014 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling copy_small.pas
copy_small.pas(5,33) Error: Identifier not found "TFileStream"
copy_small.pas(5,33) Error: Error in type definition
copy_small.pas(12) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
Error: C:\FPC\2.6.4\bin\i386-Win32\ppc386.exe returned an error exitcode (normal if you did not specify a source file to be compiled)
샘플 코드는이 절을 "사용". Free Pascal과 함께 TFileStream을 사용하기 위해 커맨드 라인에서 설정되거나 프로그램에 포함될 필요가있는 것이 있습니까? 난 당신이 다른 사람들이 사용하는 어떤 프로그래밍 언어에 관심이 왜 더 나은 질문은 생각 @MitchWheat Classes
단위
해야한다. 누군가가 블랙 베리를 꺼낼 때 어지러운 아이폰 사용자를 생각 나게합니다. – Scooter
"코스 용 말"에 대해 들어 보셨습니까? 파스칼은 죽은 언어입니다. 당신은 COBOL을 배울 수도 있습니다. 시간 낭비하고 싶지만 계속 배우려는 마음은별로 없습니다. 유용 할 수 있습니다. –
@MitchWheat 인기있는 언어가 무엇인지 알려 주시면 Google에 알려 드릴 수 없습니다. – Scooter