Ada 83 examples: Difference between revisions
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
<source lang="php"> | <source lang="php"> | ||
<?php | |||
v = "string"; // sample initialization | |||
?> | |||
html text | |||
<?php | |||
echo v; // end of php code | |||
?> | |||
</source> | |||
----------- | ----------- | ||
procedure HELLO_WORLD | procedure HELLO_WORLD | ||
| Line 10: | Line 20: | ||
PUT_LINE( "Hello_world !" ); | PUT_LINE( "Hello_world !" ); | ||
end HELLO_WORLD; | end HELLO_WORLD; | ||
| | ||
using "syntaxhighlight". | using "syntaxhighlight". | ||
Revision as of 18:50, 21 February 2025
Examples
The simplest program :
<?php
v = "string"; // sample initialization
?>
html text
<?php
echo v; // end of php code
?>
-----------
procedure HELLO_WORLD is ----------- begin
PUT_LINE( "Hello_world !" );
end HELLO_WORLD; using "syntaxhighlight".