Text_GUI .4
- Posted by David Cuny <HW1.DCUNY at HW1.CAHWNET.GOV> Feb 14, 1997
- 1143 views
*** Reply to note of 02/14/97 06:19 thanks for the speed check. i noticed that it is /much/ faster to build the string, and place the text into it, than it is to append the string together. for example: -- this is slow target = "" for i = 1 to length( source ) do target = target & source[i] end for -- this is faster target = repeat( ' ', length( source ) ) for i = 1 to length( source ) do target[i] = source[i] end do which is why i build the attribute string, and the drop the text into it. i need to go through the code in the near future, and add a test for mono/ color. i also need to make some variables for the screen size, so you can change resolutions. -- david cuny