A simple test follows:

Hello, world!

Now perform function tests:

Test the variables:

This is a test

12345

Test the variables in local:

This is a test

12345

Assign the variables in local:

Retest the variables in local:

55

Variable 1

Retest the variables:

This is a test

12345

Test the variables in local 2:

This is a test

12345

Assign the variables in local 2:

Retest the variables in local 2:

55

Variable 1

Test var2:

Test the variables in local 3:

This is a test

Assign the variables in local 3:

Retest the variables in local 3:

55

Variable 1

Variable 2

Variable 3

Retest the variables:

55

12345

Variable 2

Local scope test function1:

This is test function 1.

Global scope test function1:

Local scope test function2:

This is test function 2.

Global scope test function2: