Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
25
Task/Introspection/NetRexx/introspection.netrexx
Normal file
25
Task/Introspection/NetRexx/introspection.netrexx
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
/* NetRexx */
|
||||
options replace format comments java crossref symbols binary
|
||||
|
||||
runSample(arg)
|
||||
return
|
||||
|
||||
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
method runSample(arg) private static
|
||||
parse arg minVersion .
|
||||
if minVersion = '' then minVersion = 2.0
|
||||
parse version lang ver bdate
|
||||
if ver < minVersion then do
|
||||
say -
|
||||
lang 'version' ver -
|
||||
'[Build date:' bdate']' -
|
||||
'is less than' minVersion.format(null, 2)'; exiting...'
|
||||
exit
|
||||
end
|
||||
else do
|
||||
say -
|
||||
lang 'version' ver -
|
||||
'[Build date:' bdate']' -
|
||||
'meets minimum requirements of' minVersion.format(null, 2)
|
||||
end
|
||||
return
|
||||
Loading…
Add table
Add a link
Reference in a new issue