-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sylvain Maltais
committed
Apr 20, 2022
1 parent
846585f
commit f2e4df6
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ @author: Sylvain Maltais ([email protected]) | ||
@created: 2022 | ||
@website(https://www.gladir.com/unix-0) | ||
@abstract(Target: Turbo Pascal, Free Pascal) | ||
} | ||
|
||
Program CLEAR; | ||
|
||
Uses Crt; | ||
|
||
Var | ||
FirstParam:String; | ||
|
||
BEGIN | ||
FirstParam:=ParamStr(1); | ||
If(FirstParam='/?')or(FirstParam='--help')or(FirstParam='-h')or | ||
(FirstParam='/h')or(FirstParam='/H')Then Begin | ||
WriteLn('CLEAR Cette commande permet d''effacer l''ecran.'); | ||
WriteLn; | ||
WriteLn('Syntaxe:'); | ||
WriteLn; | ||
WriteLn('CLEAR [/?]'); | ||
WriteLn; | ||
WriteLn(' /? Ce parametre permet d''afficher l''aide sur cette commande'); | ||
End | ||
Else | ||
Begin | ||
ClrScr; | ||
End; | ||
END. |