[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
error in heatbugs docs
From: |
Theodore C. Belding |
Subject: |
error in heatbugs docs |
Date: |
Mon, 18 Nov 1996 08:34:26 -0500 |
Hi-
There's an error in the comments in the main.m file of heatbugs 961002. It
says:
// swarmGUIMode is set in initSwarm(). It's set to be 1 if you
// typed heatbugs -batchmode. Otherwise, it's set to 0.
The 1 and 0 should be reversed here. This is fairly minor on the one hand,
but since heatbugs is still the main way to learn Swarm (except for Glen's
Hello World), I imagine it could be really confusing for a newbie. A diff
file is below.
-Ted
*** main.m.old Sun Nov 17 17:44:02 1996
--- main.m.new Sun Nov 17 17:43:29 1996
***************
*** 18,25 ****
// Swarm initialization: all Swarm apps must call this first.
initSwarm(argc, argv);
! // swarmGUIMode is set in initSwarm(). It's set to be 1 if you
! // typed heatbugs -batchmode. Otherwise, it's set to 0.
if (swarmGUIMode == 1)
// We've got graphics, so make a full ObserverSwarm to get GUI objects
--- 18,25 ----
// Swarm initialization: all Swarm apps must call this first.
initSwarm(argc, argv);
! // swarmGUIMode is set in initSwarm(). It's set to be 0 if you
! // typed heatbugs -batchmode. Otherwise, it's set to 1.
if (swarmGUIMode == 1)
// We've got graphics, so make a full ObserverSwarm to get GUI objects
--
Ted Belding <mailto:address@hidden>
University of Michigan Program for the Study of Complex Systems
<http://www-personal.engin.umich.edu/~streak/>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- error in heatbugs docs,
Theodore C. Belding <=