Code: Alles auswählen
PROGRAM ex3buf;
(*______ ___ ___
/\ _ \ /\_ \ /\_ \
\ \ \L\ \\//\ \ \//\ \ __ __ _ __ ___ __ ___ ____
\ \ __ \ \ \ \ \ \ \ /'__`\ /'_ `\/\`'__\/ __`\ /'__`\ /\__`\ /'___/
\ \ \/\ \ \_\ \_ \_\ \_/\ __//\ \L\ \ \ \//\ \L\ \__/\ \L\ \\/ __ \/\____`\
\ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/\_\ \ __//\____/\/\____/
\/_/\/_/\/____/\/____/\/____/\/___L\ \/_/ \/___/\/_/\ \ \/ \/___/ \/___/
/\____/ \ \_\
\_/__/ \/_/
*
* This program demonstrates the use of triple buffering. Several
* triangles are displayed rotating and bouncing on the screen
* until you press a key. Note that on some platforms you
* can't get real hardware triple buffering. The Allegro code
* remains the same, but most likely the graphic driver will
* emulate it. Unfortunately, in these cases you can't expect
* the animation to be completely smooth and flicker free.
*
* By Guillermo "Ñuño" Martínez
* from an example of Allegro Game Library by Shawn Hargreaves.
*
* See README file for license and copyright information.
*)
Dieses Programm enhält keinerlei LCL- oder FCL Code. Die Originalendung war .pp
Um dieses Programm mit Lazarus übersetzen und starten zu können, habe ich es in xxx.lpr umbenannt. Nun aber erscheint ein Dialog, der den Typ des gewünschten Projektes abfragt.
Dialog "Create a new project"
-Application
-Simple Program
-Program
-Console Application
-library (mit Sicherheit nicht meine Auswahl, da Anwendung)
-FPC UNit Console Test Application
-FPC UNit Test Application
-Instant FPC Program
Was ist Instant FPC Program???
Wenn ich das auswähle und starten will, kommt ein Meldungsfenster mit dieser Meldung:
Unable to run the tool "Executing command before":
Program Instantfpc not found
Was heißt das? Und was ist InstantFPC überhaupt.
Welchen Projekttyp mus sich da einstellen. Ein LCL Projekt übersetzt und startet einwandfrei, wenn ich mit File->New ein Konsolenprogramm eröffne klappte das Übersetzen auch.