|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Lance Birch wrote in message <370a8d46.0@news.povray.org>...
>Hey, I'm not ADVANCED enough to program in C++ yet! he he he, well
>actually, I can do a bit, but not enough to make anything really
>interesting... I'm better at the smaller languages, like VB (at least it's
>actually COMPILED now!!!), JavaScript, VBScript and of course MAXScript...
>
>Although I have made a few interesting things in my time... like an
>encryption program called Thermal and some interesting proggies that
<blatant advertising>
An encryption program? Ooohh... take a look at mine:
http://www.btinternet.com/~bennett/datacloak.html
(sorry for the lack of worldwide download links... SimTelNet is updating
their servers with the new version as I type ;)
</blatant advertising>
it :))
Now why didn't I release some shareware stuff before? :P
Written in C using the excellent (and free.. ;) MinGW32 compiler...
Matt
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
ada 95 wasn't that created for the US Gov't. At least that is what s
defense contractor I was talking to told me.
Lance Birch wrote:
>
> Java Script :)
>
> It's actually not really correct, it should say document.write...... and
> also should be formatted properly (that was just for Ken ;-)
>
> Can someone show me it in ADA 95? he he he
>
> --
> Lance.
>
> ---
> For the latest 3D Studio MAX plug-ins, images and much more, go to:
> The Zone - http://come.to/the.zone
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Yep, that's correct :) My brother's got it as part of his Uni course...
:))))))
(spy satillite hacking here we come... ;-)
--
Lance.
---
For the latest 3D Studio MAX plug-ins, images and much more, go to:
The Zone - http://come.to/the.zone
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Gah, somone, please throw in a binary (1 an 0, text...) of a i386 code for it,
ok ?
Kalle Anka wrote:
>
> 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
--
//Spider
[ spi### [at] bahnhofse ]-[ http://www.bahnhof.se/~spider/ ]
What I can do and what I could do, I just don't know anymore
"Marian"
By: "Sisters Of Mercy"
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Um, yes, I didn't follow ANY of that... :)
Got the Assembler version anyone? Or maybe Fortran? ;-)
--
Lance.
---
For the latest 3D Studio MAX plug-ins, images and much more, go to:
The Zone - http://come.to/the.zone
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Lance Birch wrote:
>
> Um, yes, I didn't follow ANY of that... :)
>
> Got the Assembler version anyone? Or maybe Fortran? ;-)
nop, I dont... but it's the same (almost) as the other version higher up
in the thred. I used a loop of 20000 writes.
here comes the readable (yeah right...):
v <
55*4*5*8*5*>"!!!ESAELP"8k,1-:|
@
and here are the comments for the second line by character-number:
1,2 : put two 5es on the stack
3 : mulitply the two numbers on the stack and put
the result (5*5=25) on the stack
4 : put a 4 on the stack
5 : multiply (25*4=100)
6 : add a 5 on the stack
7 : multiply (100*5=500)
8 : add a 8 to the stack
9 : multiply (500*8=4000)
10 : add a 5 on the stack
11 : multiply (4000*5=20000)
12 : change the direction of the "cursor" that reads the program
13-23 : put the word PLEASE!!! on the stack
24 : put an 8 on the stack
25 : repeat next command 8 times (8 is on top of the stack) and pop it
26 : print the character on top of the stack (and pop it)
27,28 : put a 1 on the stack and subtract it from the number before
29 : duplicate the top of the stack
30 : if the top of the stack is 0 quit (that is go south) else go north
if we go north then turn left at the "arrows" to get to the "PLEASE!!!"
string.
not to hard was it?
/Peter Toneby, who now has changed his name to appear correctly...
Post a reply to this message
|
|
| |
| |
|
|
From: Lance Birch
Subject: Re: programming languages (was: New group suggestion)
Date: 7 Apr 1999 22:01:53
Message: <370c0001.0@news.povray.org>
|
|
|
| |
| |
|
|
I don't know... but it doesn't really seem like a practical language...
(well, not to me anyway...)
--
Lance.
---
For the latest 3D Studio MAX plug-ins, images and much more, go to:
The Zone - http://come.to/the.zone
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Lance Birch wrote:
>
> I don't know... but it doesn't really seem like a practical language...
> (well, not to me anyway...)
It isn't!!!
it's very bad for just about everything, except to learn how stacks
work. But it's fun to do unreadable code in ;).
here's the languages homepage
http://www.cats-eye.com/cet/soft/lang/befunge/
I think it might (just might) be possible to create some kind of
L-system in it, but I don't think I'm going to try. It impossible to
maintain it and do nice code with INDENTATION.
/Peter
Post a reply to this message
|
|
| |
| |
|
|
From: Lance Birch
Subject: Re: programming languages (was: New group suggestion)
Date: 7 Apr 1999 23:36:38
Message: <370c1636.0@news.povray.org>
|
|
|
| |
| |
|
|
Oh no, don't talk about indentation, we don't want to start a World War III
here...
--
Lance.
---
For the latest 3D Studio MAX plug-ins, images and much more, go to:
The Zone - http://come.to/the.zone
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |