Skip to content

Commit

Permalink
Update page.md
Browse files Browse the repository at this point in the history
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? 😅
  • Loading branch information
robmarzialetti authored Sep 22, 2024
1 parent f95f77e commit 9d57d69
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/04.guides/04.cookbooks/34.Types_lucee/page.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -51,7 +51,7 @@ dump(label:"Age:", var:url.age);

#### Example 3 : Queries ####

```luceescript
```lucee
//queries.cfm
Expand Down Expand Up @@ -82,7 +82,7 @@ query=queryNew(["name","age"],["string","numeric"]);

#### Example 4 : ArrayNew ####

```luceescript
```lucee
// array.cfm
Expand All @@ -100,7 +100,7 @@ names=arrayNew(type:"string");

#### Example 5 : Literals ####

```luceescript
```lucee
// literals.cfm
Expand All @@ -119,7 +119,7 @@ if(sct.bol)dump("is true");

#### Example 6 : Converting ####

```luceescript
```lucee
//converting.cfm
Expand All @@ -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
Expand All @@ -156,7 +156,7 @@ loop query=dir {
}
```

```luceescript
```lucee
// test.cfc
Expand Down

0 comments on commit 9d57d69

Please sign in to comment.