Home    Cart    Free Download    Manual

Installation:
  Free Downloads
  The H2O Family
  Install Notes

Programming:
  Prerequisites
  H2O Whitepaper
  Online Manual
  Code Examples
  H2O Free Support


What's H2O?
H2O is programming made for the web.

What's it like?
H2O is English-like. If you know some Perl, VB, ASP, or PhP you'll be immediately productive in H2O. It runs on Linux, Mac, Unix, and Windows.

How do I try it?
Download H2O for free. Get it from hosting providers. Or buy on-line.

Where does H2O come from?
The language was invented by Aestiva. H2O stands for:
   HTML with
   HTML/OS
   Overlays.


Random Numbers

random.html



<<

# sample data /#
x[1,1]="aa" x[2,1]="123456"
x[1,2]="bb" x[2,2]="678901"
x[1,3]="cc" x[2,3]="273839"
>>

<html>
<title>Random Character Examples</title>
<body bgcolor=white>
<per>
1. Random Number of 1 to 100: <<random(100)>>
<br><br>

2. Random Number between 5 and 10: <<random(5,10)>>
<br><br>

3. Randomize table rows. Table is:<br><font color=red>
<<DISPLAY NAME=X "[1] [2]<br>" /DISPLAY >></font>

Randomized Table is:<br><font color=red>
<< i=1
j=cols(y)+1
WHILE i <= ROWS(x) DO
x[j,i]=RANDOM(j*1000)
i = i + 1
/WHILE
x=SORTCOL(x,j)
DISPLAY NAME=X
"[1] [2]<br>"
/DISPLAY
>>
</font>
</html>


Home | Cart | Free Download | Online Manual
COPYRIGHT © 2005 Aestiva, LLC. ALL RIGHTS RESERVED.