by Hugella » Mon Jul 19, 2004 8:55 am
In the 'What Should I Be Able To Do Now?' section (IV.i), the first exercise, 'Mixing Text Styles', will not run as printed. The full code should be:
Code: Select all
#include "hugolib.h"
routine main
{
PrintingSample
return
}
routine PrintingSample
{
print "Text may be printed in \Bboldface\b, \Iitalics\i, \Uunderline\u, or
\Pproportional\p typefaces."
color RED
print "\nGet ready. ";
color YELLOW
print "\nGet set. ";
color GREEN
print "\nGo!"
}
(Note addition of main routine.)
In the 'What Should I Be Able To Do Now?' section (IV.i), the first exercise, 'Mixing Text Styles', will not run as printed. The full code should be:
[code]#include "hugolib.h"
routine main
{
PrintingSample
return
}
routine PrintingSample
{
print "Text may be printed in \Bboldface\b, \Iitalics\i, \Uunderline\u, or
\Pproportional\p typefaces."
color RED
print "\nGet ready. ";
color YELLOW
print "\nGet set. ";
color GREEN
print "\nGo!"
}[/code]
(Note addition of main routine.)