SRL Archive - SRL Snippets

Twiddle[Funny effect for you script]


CynicRus

2013-01-21 07:12:58

This snippet reproduces the rotation of the symbol as a BSD console when it starts. It turned out funny.


program new;

Procedure Twiddle();
var
i: integer;
TSA: TStringArray;
begin
TSA:=['|', '/', '-', '\'];
for i :=0 to length(TSA)-1 do
begin
ClearDebug;
WriteLn(TSA[i]);
Wait(100);
end;
end;
begin
repeat
Twiddle;
until(false);
end.

Enjoy!

Cheers,
Cynic.

Echo_

2013-01-21 15:28:11

That's awesome :D

Ian

2013-01-21 15:40:15

Mesmerizing :D

program Turbine;

Procedure Twiddle();
var
i: integer;
TSA: TStringArray;
begin
TSA:=['| / - \', '/ - \ |', '- \ | /', '\ | / -'];
for i :=0 to length(TSA)-1 do
begin
ClearDebug;
WriteLn(TSA[i]);
Wait(100);
end;
end;
begin
repeat
Twiddle;
until(false);
end.

kyleinkman

2013-01-21 15:41:09

i like this :P lol fun stuff

Echo_

2013-01-21 18:37:03

From: BMWxi
Mesmerizing :D

program Turbine;

Procedure Twiddle();
var
i: integer;
TSA: TStringArray;
begin
TSA:=['| / - \', '/ - \ |', '- \ | /', '\ | / -'];
for i :=0 to length(TSA)-1 do
begin
ClearDebug;
WriteLn(TSA[i]);
Wait(100);
end;
end;
begin
repeat
Twiddle;
until(false);
end.


I could watch that all day

Gucci

2013-01-21 19:08:20

Lol nice, might actually throw it in a script of mine