Introduction
NAME
Introduction Sncode - This manual page is an introduction to sncode programming
DESCRIPTION
Sncode is a new language develop to build web site.
You can use sncode in a web page or in file from the command line.
To use sncode in a webpage, the file must have the extention .sn
Also, a .snc file is compiled sncode file in binary.
In an sncode file, all the text is output as-is. Sncode is introduce with a pair of '{' and close with a pair of '}'.
- Use }} to end Sncode
- Use {{ to start Sncode
- All text outside of Sncode is returned to the browser without being parsed
EXERCICES
- Write a small sncode program to display the current date. The function datetime(); return the current date and time. See http://sncode.sednove.ca/extenso/docs/extenso/datetime.sn
- Modify the last program to display the current year only.
- Do you know what is the difference between the function cgidata() and request() ?
SEE ALSO
Tutorial
Next page
Previous page
Home of tutorial
Home
AUTHOR
Written by Pierre Laplante, <laplante@sednove.com>
MODIFICATIONS
1.0 2015-05-05 22:50:14 laplante@sednove.com