|
Last change
on this file was 153, checked in by chronos, 16 months ago |
- Added: Full screen switching support.
- Added: Help form.
- Modified: Updated Common package.
- Fixed: Execution of compiled Java and C# programs.
- Fixed: Removed interlanced empty lines in Console form on Unix.
|
|
File size:
896 bytes
|
| Line | |
|---|
| 1 | unit FormHelp;
|
|---|
| 2 |
|
|---|
| 3 | interface
|
|---|
| 4 |
|
|---|
| 5 | uses
|
|---|
| 6 | Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, FormEx;
|
|---|
| 7 |
|
|---|
| 8 | type
|
|---|
| 9 |
|
|---|
| 10 | { TFormHelp }
|
|---|
| 11 |
|
|---|
| 12 | TFormHelp = class(TFormEx)
|
|---|
| 13 | MemoHelp: TMemo;
|
|---|
| 14 | procedure FormShow(Sender: TObject);
|
|---|
| 15 | end;
|
|---|
| 16 |
|
|---|
| 17 | var
|
|---|
| 18 | FormHelp: TFormHelp;
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 | implementation
|
|---|
| 22 |
|
|---|
| 23 | {$R *.lfm}
|
|---|
| 24 |
|
|---|
| 25 | resourcestring
|
|---|
| 26 | SHelpSummary = 'LazFuck is a GUI application for writing, executing, compiling and debugging programs written in famous BrainFuck esoteric programming language.';
|
|---|
| 27 | SHelpFeatures = 'Features:' + LineEnding +
|
|---|
| 28 | '* Graphical code editor with color syntax highlighting' + LineEnding +
|
|---|
| 29 | '* Cross-compilation to Delphi, Free Pascal, Python, Java, C, C#, PHP, Rust and Javascript' + LineEnding +
|
|---|
| 30 | '* Interpreter with debugger';
|
|---|
| 31 |
|
|---|
| 32 | { TFormHelp }
|
|---|
| 33 |
|
|---|
| 34 | procedure TFormHelp.FormShow(Sender: TObject);
|
|---|
| 35 | begin
|
|---|
| 36 | MemoHelp.Lines.Text := SHelpSummary + LineEnding + LineEnding + SHelpFeatures;
|
|---|
| 37 | end;
|
|---|
| 38 |
|
|---|
| 39 | end.
|
|---|
| 40 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.