Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,14 +0,0 @@
|
|||
with Ada.Integer_Text_IO, Ada.Text_IO;
|
||||
procedure Introspection is
|
||||
use Ada.Integer_Text_IO, Ada.Text_IO;
|
||||
begin
|
||||
Put ("Integer range: ");
|
||||
Put (Integer'First);
|
||||
Put (" .. ");
|
||||
Put (Integer'Last);
|
||||
New_Line;
|
||||
|
||||
Put ("Float digits: ");
|
||||
Put (Float'Digits);
|
||||
New_Line;
|
||||
end Introspection;
|
||||
|
|
@ -2,8 +2,8 @@ if not? sys\version > 0.9.0 -> panic "version too old!"
|
|||
|
||||
bloop: 3 - 5
|
||||
|
||||
if? set? 'bloop -> "variable 'bloop' is set"
|
||||
else -> "variable 'bloop' is not set"
|
||||
switch set? 'bloop -> "variable 'bloop' is set"
|
||||
-> "variable 'bloop' is not set"
|
||||
|
||||
if set? 'abs -> print ["the absolute value of bloop is:" abs bloop]
|
||||
|
||||
|
|
|
|||
|
|
@ -1,14 +0,0 @@
|
|||
# version is found in $PSVersionTable
|
||||
if ($PSVersionTable['PSVersion'] -lt '2.0') {
|
||||
exit
|
||||
}
|
||||
|
||||
if ((Test-Path Variable:bloop) -and ([Math]::Abs)) {
|
||||
[Math]::Abs($bloop)
|
||||
}
|
||||
|
||||
# find integer variables and their sum
|
||||
Get-Variable -Scope global `
|
||||
| Where-Object { $_.Value -is [int] } `
|
||||
| Measure-Object -Sum Value `
|
||||
| Select-Object Count,Sum
|
||||
Loading…
Add table
Add a link
Reference in a new issue