LanScript

LanScript Examples

Learn LanScript by exploring programs and commands.

Hello World

The first program every developer learns.


<lanscript>
<pro>
<start>

yes.put. "Hello World"

<script>
<end>

Creating a Name

Use name. to create a name.


<lanscript>
<pro>
<start>

name. "LanScript"

yes.put. "Welcome to LanScript"

<script>
<end>

Setting an Age

Use age. to set the age of a person, game, or website.


<lanscript>
<pro>
<start>

name. "Developer"

age. 12

yes.put. "Welcome Developer"

<script>
<end>

Changing Text

LanScript can change the style of words.


<lanscript>
<pro>
<start>

yes.put. "LanScript"

.up

yes.put. "LANSCRIPT"

.down

yes.put. "lanscript"

<script>
<end>

Half Text Example

Use .half to cut words in half.


<lanscript>
<pro>
<start>

yes.put. "Programming"

.half

<script>
<end>

A Complete Program

A larger LanScript example.


<lanscript>
<pro>
<start>

name. "LanScript User"

age. 12

yes.put. "Welcome to my program"

<script>

<end>

Start Creating

Use the LanScript Playground to test your own programs.

Open Playground