Goto main content

tutorial_sncode_introduction

This manual page is an introduction to sncode programming

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 '}'.

  1. 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 Datetime
  • 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

AUTHOR

Written by Pierre Laplante, laplante@sednove.com

MODIFICATIONS

1.0 2015-05-05 22:50:14 laplante@sednove.com

Edit

© 2021 extenso Inc. All rights reserved.