From 9d57d69dbd0af058c94215c363d7c0f13cde69f5 Mon Sep 17 00:00:00 2001 From: Roberto Marzialetti Date: Sun, 22 Sep 2024 17:24:35 +0200 Subject: [PATCH] Update page.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace "luceescript" with "lucee" for the code section. The pages that work introduce the code with "lucee" instead of "luceescript". Can't we do a find & replace? 😅 --- .../04.cookbooks/34.Types_lucee/page.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/04.guides/04.cookbooks/34.Types_lucee/page.md b/docs/04.guides/04.cookbooks/34.Types_lucee/page.md index c7af3273a..776885f14 100644 --- a/docs/04.guides/04.cookbooks/34.Types_lucee/page.md +++ b/docs/04.guides/04.cookbooks/34.Types_lucee/page.md @@ -10,7 +10,7 @@ This document explains types in Lucee. Lucee is still an untyped language. Types For functions, the return value is returned with the specific type that was defined in that function. -```luceescript +```lucee // function1.cfm @@ -37,7 +37,7 @@ For functions, the return value is returned with the specific type that was defi #### Example 2 : CFParam #### -```luceescript +```lucee // param.cfm @@ -51,7 +51,7 @@ dump(label:"Age:", var:url.age); #### Example 3 : Queries #### -```luceescript +```lucee //queries.cfm @@ -82,7 +82,7 @@ query=queryNew(["name","age"],["string","numeric"]); #### Example 4 : ArrayNew #### -```luceescript +```lucee // array.cfm @@ -100,7 +100,7 @@ names=arrayNew(type:"string"); #### Example 5 : Literals #### -```luceescript +```lucee // literals.cfm @@ -119,7 +119,7 @@ if(sct.bol)dump("is true"); #### Example 6 : Converting #### -```luceescript +```lucee //converting.cfm @@ -146,7 +146,7 @@ if(sct.bol)dump("is true"); * We have loaded a Java library and string builder. We pass a string into a constructor and execute this. We see that the string builder contains that value. We refer to this ``string builder`` method in the Java Doc. The method is called ``substring``. This substring takes an int as its argument. For example, we pass a string value instead of an int value ``sb.substring("5")``. Lucee returns a substring properly. * Two constructors are available for string builder. There are ``StringBuilder(int), StringBuilder(string)``. -```luceescript +```lucee //index.cfm @@ -156,7 +156,7 @@ loop query=dir { } ``` -```luceescript +```lucee // test.cfc