Step 2 - libhtml.gslWhen you create HTML you can use echo statements or you can also use the library of HTML functions found in $UNIDIR/lib/libhtml.gsl. You can also pick and mix. The library is documented in the GsharpWE Reference Manual and as it is written in GSL you can look at and modify the source. In order to use the library you must include it like so at the top of your script: include "$UNIDIR/lib/libhtml.gsl"; Convert helloworld.gsw to use the functions in libhtml.gsl and you should end up with something like this:
It doesn't matter whether you use libhtml.gsl or not - but we'll use it for the rest of this tutorial. Now go on to Step 3 - Adding Graphics |