For everything that's not in any way related to PureBasic. General chat etc...
Trond
Always Here
Posts: 7446 Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway
Post
by Trond » Sat Feb 11, 2006 12:09 pm
Is PureBasic closing in on C when it comes to compiling strange stuff?
(Display with a monospaced font.)
Compiles cleanly:
Code: Select all
pb ** pb ** pb ** pb ** pb ** pb ** pb ** pb ** pb ** pb ** pb ** pb
pb -------------------------------------------------------------- pb
pb -- pb----pb-pb-pb-pb----------------pb-pb-pb-pb------------ -- pb
pb -- pb-pb-pb-pb-pb-pb-pb-pb----------pb-pb-pb-pb-pb-pb------ -- pb
pb -- pb-pb-pb-pb-pb-pb-pb-pb-pb-------pb-pb-------pb-pb-pb--- -- pb
pb -- pb-pb-----------------pb-pb------pb-pb----------pb-pb--- -- pb
pb -- pb-pb-----------------pb-pb------pb-pb------------pb-pb- -- pb
pb -- pb-pb-----------------pb-pb------pb-pb------------pb-pb- -- pb
pb -- pb-pb-----------------pb-pb------pb-pb------------pb-pb- -- pb
pb -- pb-pb----------------pb-pb-------pb-pb-----------pb-pb-- -- pb
pb -- pb-pb--------------pb-pb---------pb-pb---------pb-pb---- -- pb
pb -- pb-pb-pb-pb-pb-pb-pb-pb----------pb-pb-pb-pb-pb-pb------ -- pb
pb -- pb-pb-pb-pb-pb-pb-pb-------------pb-pb-pb-pb-pb-pb-pb--- -- pb
pb -- pb-pb----------------------------pb-pb-----------pb-pb-- -- pb
pb -- pb-pb----------------------------pb-pb-------------pb-pb -- pb
pb -- pb-pb----------------------------pb-pb-------------pb-pb -- pb
pb -- pb-pb----------------------------pb-pb-------------pb-pb -- pb
pb -- pb-pb----------------------------pb-pb-------------pb-pb -- pb
pb -- pb-pb----------------------------pb-pb----------pb-pb-pb -- pb
pb -- pb-pb----------------------------pb-pb-pb-pb-pb-pb-pb -- -- pb
pb -- pb-pb----------------------------pb-pb-pb-pb-pb-pb------ -- pb
pb -------------------------------------------------------------- pb
pb ** pb ** pb ** pb ** pb ** pb ** pb ** pb ** pb ** pb ** pb ** pb
blueznl
PureBasic Expert
Posts: 6172 Joined: Sat May 17, 2003 11:31 am
Contact:
Post
by blueznl » Sat Feb 11, 2006 2:09 pm
now trond is definitely looking for a life!
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide
right here ... )
dmoc
Enthusiast
Posts: 739 Joined: Sat Apr 26, 2003 12:40 am
Post
by dmoc » Sat Feb 11, 2006 2:19 pm
And the result is...????
I hate it when I miss the ending of a story!
Dare2
Moderator
Posts: 3321 Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land
Post
by Dare2 » Sat Feb 11, 2006 2:20 pm
@}--`--,-- A rose by any other name ..
PB
PureBasic Expert
Posts: 7581 Joined: Fri Apr 25, 2003 5:24 pm
Post
by PB » Sat Feb 11, 2006 3:29 pm
@Trond: How the hell did you come up with the idea of compiling that?
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Hydrate
Enthusiast
Posts: 436 Joined: Mon May 16, 2005 9:37 pm
Contact:
Post
by Hydrate » Sat Feb 11, 2006 10:20 pm
PB wrote: @Trond: How the hell did you come up with the idea of compiling that?
Its easy, this will also compile:
Code: Select all
pb ** pb
pb -- feel-the-pure-power -- pb
pb ** pb
Heres how it works:
pb -- has to be at the start of a line
-- pb has to be at the end of it
you can put anything in between the lines, as long as its not got a space in it, and it will compile fine. You can also use ** instead of --
Odd though...
.::
::.
va!n
Addict
Posts: 1104 Joined: Wed Apr 20, 2005 12:48 pm
Post
by va!n » Sun Feb 12, 2006 12:30 am
looool
how cool is that? rofl...
va!n aka Thorsten
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
techjunkie
Addict
Posts: 1126 Joined: Wed Oct 15, 2003 12:40 am
Location: Sweden
Contact:
Post
by techjunkie » Sun Feb 12, 2006 12:52 am
(\__/)
(='.'=) This is Bunny. Copy and paste Bunny into your
(")_(") signature to help him gain world domination.
Trond
Always Here
Posts: 7446 Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway
Post
by Trond » Sun Feb 12, 2006 3:21 pm
Code: Select all
OpenConsole()
I = 45 + $36
While I > 1
Print(Str(I))
Print(" bot")
Print("tles o")
Print("f beer on th")
PrintN("e wall,") :Delay(5)
Print("" + Str(I) + " bottles of bee")
PrintN("r.") : Print("Take one down, ")
PrintN("pass it around,") : Goto a : b:
If I > 2 : PrintN("") : EndIf : : : : :
: : : : : : : : : : : : : : : : : : : :
: : : : : : : : : : : : : : : : : : : :
: : : : : : : : : : : : : : : : : : : :
: : : : : : : : : : : : : : : : : : : :
: : : : : : : : : : : : : : : : : : : :
: : : : : : : : : : : : : : : : : : : :
: : : : : : : : : : : : : : : : : : : :
I - 1 : Wend : Goto Epr : : : : : : : :
a: If I > 2 : Print(Str(I-1)+ " bottl")
PrintN("es of beer on the wall."):EndIf
Goto b : Epr: Print("1 bottle of beer")
PrintN(" on the wall.") : PrintN(" ")
PrintN("1 bottle of beer on the wall,")
PrintN("1 bottle of beer."):Print("Ta")
PrintN("ke one down, pass it around, ")
Print("No more bottles of beer on the")
PrintN(" wall."):PrintN(""):Print("No")
Print(" more bottles of beer on the w")
PrintN("all,") : Print("No more bottl")
PrintN("es of beer.") : Print("Go to ")
PrintN("the store and buy some more, ")
Print("99 bottles of beer on the wall")
PrintN(".") : : : : : : : : Input()
freak
PureBasic Team
Posts: 5948 Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany
Post
by freak » Sun Feb 12, 2006 4:32 pm
Time for the first obfuscated code contest in PB
quidquid Latine dictum sit altum videtur