Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
18
Task/Introspection/Icon/introspection.icon
Normal file
18
Task/Introspection/Icon/introspection.icon
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
global bloop
|
||||
|
||||
procedure main(A)
|
||||
if older(11,7) then stop("Must have version >= 11.7!")
|
||||
bloop := -5 # global variable
|
||||
floop := -11.3 # local variable
|
||||
write(proc("abs")(variable("bloop")))
|
||||
write(proc("abs")(variable("floop")))
|
||||
end
|
||||
|
||||
procedure older(maj,min)
|
||||
&version ? {
|
||||
(tab(find("Version ")),move(*"Version "))
|
||||
major := 1(tab(upto('.')),move(1))
|
||||
minor := tab(upto('.'))
|
||||
return (major < maj) | ((major = maj) & (minor < min))
|
||||
}
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue