![]() | Products |
| Home » Technical Support » ElevateDB Technical Support » Incident Reports » Incident Reports Addressed for Version 2.03 » View Incident Report |
| Reported By: Richard Harding Reported On: 6/28/2010 For: Version 2.03 Build 15 |
CREATE FUNCTION "TriangleNumber" (IN "N" INTEGER)
RETURNS INTEGER
BEGIN
DECLARE Result, I INTEGER;
SET I = N; -- Required
CASE I
WHEN 0 THEN
SET Result = 0;
WHEN 1 THEN
SET result = 1;
ELSE
SET Result = I + TriangleNumber(I - 1);
END CASE;
RETURN Result;
ENDThis web page was last updated on Wednesday, April 8, 2026 at 04:38 AM | Privacy Policy © 2026 Elevate Software, Inc. All Rights Reserved Questions or comments ? |

