solar_eclipse.ssc   solar_eclipse.ssc 
skipping to change at line 13 skipping to change at line 13
// License: Public Domain // License: Public Domain
// Author: Matthew Gates // Author: Matthew Gates
// Description: Script to demonstrate a total solar eclipse which will happ en // Description: Script to demonstrate a total solar eclipse which will happ en
// in 2009 (location=Rangpur, Bangladesh). // in 2009 (location=Rangpur, Bangladesh).
// //
function blockText(textArray) function blockText(textArray)
{ {
var fontSize = 20; var fontSize = 20;
var lineSep = fontSize * 1.5; var lineSep = fontSize * 1.5;
y = 50 + (lineSep*textArray.length); y = 50;
ids = new Array(); ids = new Array();
for(i=0; i<textArray.length; i++) for(i=0; i<textArray.length; i++)
{ {
ids[i] = LabelMgr.labelScreen(textArray[i], 30, y, false, fo ntSize, "#0044ff"); ids[i] = LabelMgr.labelScreen(textArray[i], 30, y, false, fo ntSize, "#0044ff");
y = y - lineSep; y += lineSep;
} }
for(i=0; i<ids.length; i++) for(i=0; i<ids.length; i++)
{ {
LabelMgr.setLabelShow(ids[i], true); LabelMgr.setLabelShow(ids[i], true);
core.wait(0.15); core.wait(0.15);
} }
return ids; return ids;
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/