Print 2014 without using any numbers in your source code

[quote] print(#“qw”…#“”…#“q”…#“rekt”)

EDIT: Oh, I just saw that someone else used the same method, lol, but it works! [/quote]

Mine’s still shorter. You have 33 characters, I have 30.[/quote]

Oh yeah? WELL MINE NEW AND IMPROVED ONE IS EVEN MORE EFFICIENT! :woohoo:

Troll = #"trolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltroll"
Trolll = #"h"
Trollll = #"qwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiop"
Trolllll = #"qwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiop"
Trollllll = #"hi"
Trolllllll = Trollll / Trollllll
print(Troll / Trollll ..Troll / Trolllll - Trolll ..Troll / Trolllll ..Troll / Trolllllll)

Scary thing is, it works.

[quote] [quote=“Dom” post=10944]print(#“qw”…#“”…#“q”…#“rekt”)

EDIT: Oh, I just saw that someone else used the same method, lol, but it works! [/quote]

Mine’s still shorter. You have 33 characters, I have 30.[/quote]

Oh yeah? WELL MINE NEW AND IMPROVED ONE IS EVEN MORE EFFICIENT! :woohoo:

Troll = #"trolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltrolltroll"
Trolll = #"h"
Trollll = #"qwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiop"
Trolllll = #"qwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiop"
Trollllll = #"hi"
Trolllllll = Trollll / Trollllll
print(Troll / Trollll ..Troll / Trolllll - Trolll ..Troll / Trolllll ..Troll / Trolllllll)

Scary thing is, it works.[/quote]

New challenge:
Who can make it the longest?

I give up! :kiss:

-scissors-

Accidentally posted something incorrect.

Hehe, totally cheezy, but how about:
print"ZOlq"
If you squint, a lot…

[quote] Hehe, totally cheezy, but how about:
print"ZOlq"
If you squint, a lot… [/quote]

What is this mind trickery???

The closest I could get to 2014 using characters instead of numbers.

[quote] Hehe, totally cheezy, but how about:
print"ZOlq"
If you squint, a lot… [/quote]

What is this mind trickery???[/quote]

Z = 2
O = 0
l = 1
q = 4

Also:

print(#{{},{}} .. #{} .. #{{}} .. #{{},{},{},{}})

Apart from print: no letters.

Didn’t see that I put a number facepalm

Detects any year, still acceptable as long as we’re still in 2014 =P

print(os.date():match(“.+ (%d+)”))

[quote] Detects any year, still acceptable as long as we’re still in 2014 =P

print(os.date():match(“.+ (%d+)”)) [/quote]

It says in the challenge that you can’t use the current year. :stuck_out_tongue:

[quote]

Edit:

x = #"ha" print(x..x-x..x/x..x*x) [/quote]

Damn that’s good.

1 Like

x=#“ha”
print(x…x-x…x/x…x*x)

This wins by 2 bytes.

1 Like

Inspired by another good one that I saw:

print("MMXIV")
1 Like

[quote] Inspired by another good one that I saw:

print("MMXIV")

Are those Roman numerals? That’s clever.

I found a hidden easteregg!11!11

newyear()

Totally joking, of course. Would be funny if they actually did incorporate such a function. :stuck_out_tongue:

[quote] x = #"ha" print(x..x-x..x/x..x*x) [/quote]

Beat you by one character:

x=#"haha"print(x*x+x..x/x..x)

Some alternatives:

print(os.date('*t').year)

print(tonumber('BBC',('HappyNewYear!'):find('!')))

HA! Beat you by one!

x=#"h"print(x+x,x-x,x,x+x*3)

[quote]
HA! Beat you by one!

x=#"h"print(x+x,x-x,x,x+x*3) [/quote]

Nice 3.

oh darn

I’m blind.

sorry.

ignore me.