Voting

Category

real language

Bookmarking

Del.icio.us Digg Diigo DZone Earthlink Google Kick.ie
Windows Live LookLater Ma.gnolia Reddit Rojo StumbleUpon Technorati

Language Tera Term Pro Macro

Date:04/20/05
Author:Lance Yamada
URL:n/a
Comments:2
Info:n/a
Score: (3.00 in 7 votes)
; 1. Open Tera Term Pro (free VT100 emulator)
; 2. Control -> Macro
; 3. choose 99b.ttl
; 
; it will run even if you close the app, to kill prematurely please open 
; taskmanager and kill the ttpmacro.exe
;
; 99 Bottles of Beer macro for Tera Term
; by Lance Yamada

for i 99 1
	j = i - 1
	int2str istr i
	int2str jstr j
        strconcat istr ' bottles of beer on the wall,'
	strconcat jstr ' bottles of beer on the wall!'

	if i = 1 then
		messagebox '1 bottle of beer on the wall,' 'Tera Term'
		messagebox 'time to get more beer!' 'Tera Term'
	else
		messagebox istr 'Tera Term'
		messagebox 'take one down pass it around,' 'Tera Term'
		messagebox jstr 'Tera Term'
	endif
next

Download Source | Write Comment

Alternative Versions

Comments

>>  RODİ said on 12/27/05 17:02:46

RODİ bg

>>  Sumi said on 07/19/07 10:38:37

Sumi Fine. Add new code

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!

Name:

eMail:

URL:

Security Code:
  
Comment: