Skip to content

Commit 7d95a61

Browse files
authored
Add Baklava in Lucee (#4129)
1 parent 3aca1b2 commit 7d95a61

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

archive/l/lucee/baklava.cfm

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<html>
2+
<head>
3+
<title>Baklava</title>
4+
</head>
5+
<body>
6+
<pre><cfscript>
7+
for (n = -10; n <= 10; n++) {
8+
numSpaces = abs(n);
9+
numStars = 21 - 2 * numSpaces;
10+
spaces = repeatString(" ", numSpaces);
11+
stars = repeatString("*", numStars);
12+
writeOutput(spaces & stars & "<br>");
13+
}
14+
</cfscript></pre>
15+
</body>
16+
</html>

archive/l/lucee/testinfo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ folder:
44

55
container:
66
image: "rzuckerm/lucee"
7-
tag: "5.4.4.38-1"
7+
tag: "5.4.4.38-3"
88
cmd: "run_lucee {{ source.name }}{{ source.extension }}"

0 commit comments

Comments
 (0)