[HugoBook] Chap.IV exercises

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:smile: :sad: :eek: :shock: :cool: :-x :razz: :oops: :evil: :twisted: :wink: :idea: :arrow: :neutral: :mrgreen:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: [HugoBook] Chap.IV exercises

Noted

by Kent » Mon Jul 26, 2004 11:50 pm

Thanks (again)--I'll fix this as soon as I get a chance.

[HugoBook] Chap.IV exercises

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.)

Top