home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 10
/
aminetcdnumber101996.iso
/
Aminet
/
text
/
edit
/
FrexxEdA.lha
/
FrexxEd
/
fpl
/
RepeatFunction.FPL
< prev
next >
Wrap
Text File
|
1995-07-19
|
326b
|
16 lines
export void RepeatFunction()
{
string func;
int number;
CursorActive(0);
Status(0, "Give keystroke!");
func=KeyPress();
if (strlen(func)) {
number=PromptInt("Repeat function", 0, func);
Visible(0);
while (--number>=0)
ExecuteString(func);
}
}
AssignKey("RepeatFunction();", "Amiga Control r");