Data update

This commit is contained in:
Ingy döt Net 2026-02-01 16:33:20 -08:00
parent 5150844a7d
commit 4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions

View file

@ -1 +0,0 @@
function Multiply (A, B : Float) return Float;

View file

@ -1,4 +0,0 @@
function Multiply (A, B : Float) return Float is
begin
return A * B;
end Multiply;

View file

@ -1 +0,0 @@
function Multiply(A, B: Float) return Float is (A * B);

View file

@ -1,3 +0,0 @@
generic
type Number is digits <>;
function Multiply (A, B : Number) return Number;

View file

@ -1,4 +0,0 @@
function Multiply (A, B : Number) return Number is
begin
return A * B;
end Multiply;

View file

@ -1,7 +0,0 @@
with Multiply;
...
function Multiply_Integer is new Multiply(Number => Integer);
use Multiply_Integer; -- If you must
type My_Integer is Range -100..100;
function Multiply_My_Integer is new Multiply(My_Integer);

View file

@ -1,7 +0,0 @@
#AutoIt Version: 3.2.10.0
$I=11
$J=12
MsgBox(0,"Multiply", $I &" * "& $J &" = " & product($I,$J))
Func product($a,$b)
Return $a * $b
EndFunc

View file

@ -1,26 +0,0 @@
IDENTIFICATION DIVISION.
PROGRAM-ID. myTest.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 x PICTURE IS 9(3) VALUE IS 3.
01 y PICTURE IS 9(3) VALUE IS 2.
01 z PICTURE IS 9(9).
PROCEDURE DIVISION.
CALL "myMultiply" USING
BY CONTENT x, BY CONTENT y,
BY REFERENCE z.
DISPLAY z.
STOP RUN.
END PROGRAM myTest.
IDENTIFICATION DIVISION.
PROGRAM-ID. myMultiply.
DATA DIVISION.
LINKAGE SECTION.
01 x PICTURE IS 9(3).
01 y PICTURE IS 9(3).
01 z PICTURE IS 9(9).
PROCEDURE DIVISION USING BY REFERENCE x, y, z.
MULTIPLY x BY y GIVING z.
EXIT PROGRAM.
END PROGRAM myMultiply.

View file

@ -1,26 +0,0 @@
IDENTIFICATION DIVISION.
PROGRAM-ID. myTest.
ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
REPOSITORY.
FUNCTION myMultiply.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 x PICTURE IS 9(3) VALUE IS 3.
01 y PICTURE IS 9(3) VALUE IS 2.
PROCEDURE DIVISION.
DISPLAY myMultiply(x, y).
STOP RUN.
END PROGRAM myTest.
IDENTIFICATION DIVISION.
FUNCTION-ID. myMultiply.
DATA DIVISION.
LINKAGE SECTION.
01 x PICTURE IS 9(3).
01 y PICTURE IS 9(3).
01 z PICTURE IS 9(9).
PROCEDURE DIVISION USING x, y RETURNING z.
MULTIPLY x BY y GIVING z.
GOBACK.
END FUNCTION myMultiply.

View file

@ -1,4 +0,0 @@
proc multiply(a, b)
{
return a * b;
}

View file

@ -1,4 +0,0 @@
proc multiply(a : ?t ... 2)
{
return a(0) * a(1)
}

View file

@ -1,2 +0,0 @@
(defun multiply (x y)
(* x y))

View file

@ -1,3 +0,0 @@
(defun multiply (x y)
"Return the product of X and Y."
(* x y))

View file

@ -1,3 +0,0 @@
function multiply( atom a, atom b )
return a * b
end function

View file

@ -1,12 +0,0 @@
function multiply( object a, object b )
return a * b
end function
sequence a = {1,2,3,4}
sequence b = {5,6,7,8}
? multiply( 9, 9 )
? multiply( 3.14159, 3.14159 )
? multiply( a, b )
? multiply( a, 7 )
? multiply( 10.39564, b )

View file

@ -1,3 +0,0 @@
function multiply(x:Float, y:Float):Float{
return x * y;
}

View file

@ -1,3 +0,0 @@
function multiply {
return $args[0] * $args[1]
}

View file

@ -1,3 +0,0 @@
function multiply {
$args[0] * $args[1]
}

View file

@ -1,3 +0,0 @@
function multiply ($a, $b) {
return $a * $b
}

View file

@ -1,4 +0,0 @@
function multiply {
param ($a, $b)
return $a * $b
}

View file

@ -1,3 +0,0 @@
function multiply ([int] $a, [int] $b) {
return $a * $b
}

View file

@ -1 +0,0 @@
multiply: func [a b][a * b]

View file

@ -1 +0,0 @@
multiply: return arg(1) * arg(2) /*return the product of the two arguments.*/

View file

@ -1 +0,0 @@
multiply: return arg(1) * arg(2) / 1 /*return with a normalized product of 2 args. */

View file

@ -1,3 +0,0 @@
function multiply( multiplicand, multiplier )
multiply = multiplicand * multiplier
end function

View file

@ -1,2 +0,0 @@
dim twosquared
twosquared = multiply(2, 2)