Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

LSL quine

Lex Neva
wears dorky glasses
Join date: 27 Nov 2004
Posts: 1,361
12-24-2006 17:55
Merry Christmas... a little bit of a programming joke for you from me and Seifert Surface :)

CODE

string c="%22;%0A%0A// This LSL script is a Quine. It prints its own sourcecode via llSay.%0A%0Adefault {%0A state_entry() {%0A llSay(0,llUnescapeURL(%22string c=%2522%22) + c + llUnescapeURL(c));%0A }%0A}";

// This LSL script is a Quine. It prints its own sourcecode via llSay.

default
{
state_entry() {
llSay(0,llUnescapeURL("string c=%22") + c + llUnescapeURL(c));
}
}
Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
Discussion Thread
12-24-2006 20:53
/54/1b/156738/1.html
_____________________
i've got nothing. ;)
Learjeff Innis
musician & coder
Join date: 27 Nov 2006
Posts: 817
12-26-2006 09:46
:)
Joker Opus
Registered Usimibober
Join date: 9 May 2006
Posts: 363
01-20-2007 15:19
From: Nada Epoch



You seem to respond like that alot XD
_____________________
Jøkêr Øpüs
PLEASE FIX THE WEAPON TESTING SANDBOX - AN OLD SECONDLIFE HANGOUT!