Time for an 2014 update…
This commit is contained in:
parent
372c577f83
commit
09687c4926
2520 changed files with 34227 additions and 7318 deletions
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