POV-Ray : Newsgroups : povray.general : New group suggestion : Re: New group suggestion Server Time
12 Aug 2024 11:20:06 EDT (-0400)
  Re: New group suggestion  
From: Kalle Anka
Date: 7 Apr 1999 08:56:39
Message: <370B47F5.9424DB4@acc.umu.se>
Lance Birch wrote:
> 
> he he he, now can someone show it to me in ADA 95?  ;-)

no, but how about befunge98?
just follow the arrows...

<Cool-programming-languages-mode-on>
--- start of first version (harder to read)---
vPOVR
 >vRU
5"8AL
5PkYE
*L,!S
4E1!!
*A-!!
5S:>v
*E>|v
8!@@v
*!v<<
5!vRI
*"vGH
>^<T?
--- start of second version (easier to read)---
v
5  
>5*4*5*8*5* v
v"PLEASE!!!"<
8 POV RULES
k !!!!!!!!!
,   >       ^
>1-:|
    @
--- End of program ---
<Cool-programming-languages-mode-off>

Of course I could have made this program alot harder to read... here's
a little legend for the symbols used:
<>v^ : go in the arrows direction
k    : repeat next command x number of time, x is on the stack.
,    : print the character on the stack
:    : duplicate first on stack
|    : if first on stack is zero go north else south
@    : stop and quit

remember that befunge is stackbased.

/Peter Toneby


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.