Language GWScript
Date: | 04/20/05 |
Author: | Anonymous |
URL: | n/a |
Comments: | 0 |
Info: | n/a |
Score: | (2.93 in 15 votes) |
// GWScript (GWS) is a C-like scripting language used in (load) testing, // quality assurance and service level management. // This piece of code uses Windows Notepad as an "output device". // Author: Timo Boll, Geyer und Weinig GmbH // Homepage: http://www.gwtel.de main () { int l_bottle_cnt; if (execcmd( sysgetenv( "windir" ) + "\\notepad.exe", 512 + 5 ) > 0) { for (l_bottle_cnt = 99; l_bottle_cnt > 0; l_bottle_cnt --) { kputs( strform( "%d bottle(s) of beer on the wall,\r", l_bottle_cnt )); kputs( strform( "%d bottle(s) of beer.\r", l_bottle_cnt )); kputs( "Take one down, pass it around,\r" ); kputs( strform( "%d bottle(s) of beer on the wall.\r\r", l_bottle_cnt - 1 )); } } }
Download Source | Write Comment
Download Source | Write Comment
Add Comment
Please provide a value for the fields Name,
Comment and Security Code.
This is a gravatar-friendly website.
E-mail addresses will never be shown.
Enter your e-mail address to use your gravatar.
Please don't post large portions of code here! Use the form to submit new examples or updates instead!
Comments