Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
3
Task/Introspection/PL-I/introspection-1.pli
Normal file
3
Task/Introspection/PL-I/introspection-1.pli
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
S = SYSVERSION();
|
||||
if substr(S, 6, 6) < '050000' then
|
||||
do; put skip list ('Version of compiler is too old'); stop; end;
|
||||
22
Task/Introspection/PL-I/introspection-2.pli
Normal file
22
Task/Introspection/PL-I/introspection-2.pli
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
*process source attributes options m or(!);
|
||||
/*********************************************************************
|
||||
* 02-11.2013 Walter Pachl
|
||||
* I modified this to run on my Windows PL/I
|
||||
*********************************************************************/
|
||||
v: Proc Options(main);
|
||||
%version: Proc Returns(char);
|
||||
Dcl res char;
|
||||
res=sysversion;
|
||||
Return(''''!!res!!'''');
|
||||
%End;
|
||||
%Act version;
|
||||
Dcl s char(31) Init('');
|
||||
s=version;
|
||||
if substr(S,15,3) < '7.5' then Do;
|
||||
put Skip list('Version of compiler ('!!substr(S,15,3)!!
|
||||
') is too old');
|
||||
stop;
|
||||
End;
|
||||
Else
|
||||
Put Skip List('Version is '!!s);
|
||||
End
|
||||
Loading…
Add table
Add a link
Reference in a new issue