Skip to main content
added 8 characters in body
Source Link
Nelson
  • 321
  • 1
  • 7

T-SQL, 239 182 162 159 153 152152 149 bytes

Golfed:

DECLARE @c CHAR(5)='|/-\',@s CHAR(1),@ INT WHILE 1=1BEGIN SET @=1WHILE @<4BEGIN SET @s=(SELECT SUBSTRING(@c,@,1))PRINT'Loading... '+@s SET @=@+1 END END

Ungolfed

DECLARE @c CHAR(5) = '|/-\',
        @s CHAR(1),
        @ INT;
WHILE (1 = 1)
BEGIN
    SET @ = 1;
    WHILE (@ < 4)
    BEGIN
        SET @s = (SELECT SUBSTRING(@c, @, 1));
        PRINT 'Loading... ' + @s;
        SET @ = @i + 1;
    END
END

T-SQL, 239 182 162 159 153 152 bytes

Golfed:

DECLARE @c CHAR(5)='|/-\',@s CHAR(1),@ INT WHILE 1=1BEGIN SET @=1WHILE @<4BEGIN SET @s=(SELECT SUBSTRING(@c,@,1))PRINT'Loading... '+@s SET @=@+1 END END

Ungolfed

DECLARE @c CHAR(5) = '|/-\',
        @s CHAR(1),
        @ INT;
WHILE (1 = 1)
BEGIN
    SET @ = 1;
    WHILE (@ < 4)
    BEGIN
        SET @s = (SELECT SUBSTRING(@c, @, 1));
        PRINT 'Loading... ' + @s;
        SET @ = @i + 1;
    END
END

T-SQL, 239 182 162 159 153 152 149 bytes

Golfed:

DECLARE @c CHAR(5)='|/-\',@s CHAR,@ INT WHILE 1=1BEGIN SET @=1WHILE @<4BEGIN SET @s=(SELECT SUBSTRING(@c,@,1))PRINT'Loading... '+@s SET @=@+1 END END

Ungolfed

DECLARE @c CHAR(5) = '|/-\',
        @s CHAR(1),
        @ INT;
WHILE (1 = 1)
BEGIN
    SET @ = 1;
    WHILE (@ < 4)
    BEGIN
        SET @s = (SELECT SUBSTRING(@c, @, 1));
        PRINT 'Loading... ' + @s;
        SET @ = @i + 1;
    END
END
added 5 characters in body
Source Link
Nelson
  • 321
  • 1
  • 7

T-SQL, 239 182 162 159159 153 152 bytes

Golfed:

DECLARE @c CHAR(5)='|/-\\'\',@s CHAR(1),@i@ INT WHILE 1=1BEGIN SET @i=1WHILE@=1WHILE @i<5BEGIN@<4BEGIN SET @s=(SELECT SUBSTRING(@c,@i@,1))PRINT'Loading... '+@s SET @i=@i+1@=@+1 END END

Ungolfed

DECLARE @c CHAR(5) = '|/-\\'\',
        @s CHAR(1),
        @i@ INT;
WHILE (1 = 1)
BEGIN
    SET @i@ = 1;
    WHILE (@i@ < 54)
    BEGIN
        SET @s = (SELECT SUBSTRING(@c, @i@, 1));
        PRINT 'Loading... ' + @s;
        SET @i@ = @i + 1;
    END
END

T-SQL, 239 182 162 159 bytes

Golfed:

DECLARE @c CHAR(5)='|/-\\',@s CHAR(1),@i INT WHILE 1=1BEGIN SET @i=1WHILE @i<5BEGIN SET @s=(SELECT SUBSTRING(@c,@i,1))PRINT'Loading... '+@s SET @i=@i+1 END END

Ungolfed

DECLARE @c CHAR(5) = '|/-\\',
        @s CHAR(1),
        @i INT;
WHILE (1 = 1)
BEGIN
    SET @i = 1;
    WHILE (@i < 5)
    BEGIN
        SET @s = (SELECT SUBSTRING(@c, @i, 1));
        PRINT 'Loading... ' + @s;
        SET @i = @i + 1;
    END
END

T-SQL, 239 182 162 159 153 152 bytes

Golfed:

DECLARE @c CHAR(5)='|/-\',@s CHAR(1),@ INT WHILE 1=1BEGIN SET @=1WHILE @<4BEGIN SET @s=(SELECT SUBSTRING(@c,@,1))PRINT'Loading... '+@s SET @=@+1 END END

Ungolfed

DECLARE @c CHAR(5) = '|/-\',
        @s CHAR(1),
        @ INT;
WHILE (1 = 1)
BEGIN
    SET @ = 1;
    WHILE (@ < 4)
    BEGIN
        SET @s = (SELECT SUBSTRING(@c, @, 1));
        PRINT 'Loading... ' + @s;
        SET @ = @i + 1;
    END
END
added 8 characters in body
Source Link
Nelson
  • 321
  • 1
  • 7

T-SQL, 239 182 162162 159 bytes

Golfed:

DECLARE @c CHAR(5)='|/-\\',@s CHAR(1),@i INT WHILE(1=1)BEGIN 1=1BEGIN SET @i=1@i=1WHILE WHILE(@i<5)BEGIN@i<5BEGIN SET @s=(SELECT SUBSTRING(@c,@i,1))PRINT'Loading... '+@s SET @i=@i+1 END END

Ungolfed

DECLARE @c CHAR(5) = '|/-\\',
        @s CHAR(1),
        @i INT;
WHILE (1 = 1)
BEGIN
    SET @i = 1;
    WHILE (@i < 5)
    BEGIN
        SET @s = (SELECT SUBSTRING(@c, @i, 1));
        PRINT 'Loading... ' + @s;
        SET @i = @i + 1;
    END
END

T-SQL, 239 182 162 bytes

Golfed:

DECLARE @c CHAR(5)='|/-\\',@s CHAR(1),@i INT WHILE(1=1)BEGIN SET @i=1 WHILE(@i<5)BEGIN SET @s=(SELECT SUBSTRING(@c,@i,1))PRINT'Loading... '+@s SET @i=@i+1 END END

Ungolfed

DECLARE @c CHAR(5) = '|/-\\',
        @s CHAR(1),
        @i INT;
WHILE (1 = 1)
BEGIN
    SET @i = 1;
    WHILE (@i < 5)
    BEGIN
        SET @s = (SELECT SUBSTRING(@c, @i, 1));
        PRINT 'Loading... ' + @s;
        SET @i = @i + 1;
    END
END

T-SQL, 239 182 162 159 bytes

Golfed:

DECLARE @c CHAR(5)='|/-\\',@s CHAR(1),@i INT WHILE 1=1BEGIN SET @i=1WHILE @i<5BEGIN SET @s=(SELECT SUBSTRING(@c,@i,1))PRINT'Loading... '+@s SET @i=@i+1 END END

Ungolfed

DECLARE @c CHAR(5) = '|/-\\',
        @s CHAR(1),
        @i INT;
WHILE (1 = 1)
BEGIN
    SET @i = 1;
    WHILE (@i < 5)
    BEGIN
        SET @s = (SELECT SUBSTRING(@c, @i, 1));
        PRINT 'Loading... ' + @s;
        SET @i = @i + 1;
    END
END
deleted 12 characters in body
Source Link
FlipTack
  • 14.7k
  • 3
  • 54
  • 101
Loading
edited body
Source Link
Nelson
  • 321
  • 1
  • 7
Loading
deleted 3 characters in body
Source Link
Nelson
  • 321
  • 1
  • 7
Loading
added 216 characters in body
Source Link
Nelson
  • 321
  • 1
  • 7
Loading
Source Link
Nelson
  • 321
  • 1
  • 7
Loading