This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
uphp:uphp_language_basics [2017/03/18 20:18] jeff |
uphp:uphp_language_basics [2021/09/13 05:57] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
======uPHP Language Basics====== | ======uPHP Language Basics====== | ||
+ | |||
The following sections describe how to work with uPHP scripts. | The following sections describe how to work with uPHP scripts. | ||
=====uPHP Tags===== | =====uPHP Tags===== | ||
- | When Wattmon parses a file, it looks for opening and closing tags, which are ''<?'' | + | |
+ | When [[hardware: | ||
<code php> | <code php> | ||
Line 26: | Line 28: | ||
=====Instruction Separation===== | =====Instruction Separation===== | ||
+ | |||
As in C and PHP, uPHP requires instructions to be terminated with a semicolon at the end of each statement. The closing tag of a block of uPHP code automatically implies a semicolon; you do not need to have a semicolon terminating the last line of a uPHP block. The closing tag for the block will include the immediately trailing newline if one is present. | As in C and PHP, uPHP requires instructions to be terminated with a semicolon at the end of each statement. The closing tag of a block of uPHP code automatically implies a semicolon; you do not need to have a semicolon terminating the last line of a uPHP block. The closing tag for the block will include the immediately trailing newline if one is present. | ||
=====Comments===== | =====Comments===== | ||
+ | |||
uPHP supports ' | uPHP supports ' | ||
Line 60: | Line 64: | ||
=====Programmer Reference===== | =====Programmer Reference===== | ||
- | * [[.functions: | + | * [[functions|uPHP |
- | * [[.:uPHP Special Variables]] | + | |
+ | * [[uPHP Special Variables]] | ||