Code Example

Dynamic Result

1 Hello World
2 Line 1
Line 2
Line 3
Line 4
Line 5
3 78.54
4 http://samples.on-rev.com
5
12345678910
2468101214161820
36912151821242730
481216202428323640
5101520253035404550
6121824303642485460
7142128354249566370
8162432404856647280
9182736455463728190
102030405060708090100
THE BASICS
Basic LiveCode web scripting

Let's start by looking at the basics of using LiveCode to script a website. LiveCode can be embedded into a webpage in much the same was as other web scripting languages such as PHP or ASP. When a visitor to your website loads a page containing LiveCode code, the LiveCode server engine executes any code it finds. All that you have to do is place your code snippets in between special tags:

<?lc -LiveCode Code Here- ?>

Those who have built a website in PHP or ASP will be familiar with this sort of scripting. LiveCode follows the same structure as other web scriting languages but allows you to do it in LiveCode! We have provided a number of very basic examples and the results they produce. You can start experimenting right away by signing up for your On-Rev account at www.on-rev.com.