It's C.
>> is Shr
^ is Xor
So
noise>>=3 is
noise = noise Shr 3
and
noise^=seed is
noise=noise Xor seed
Basically though what's being done here is a random number generator.
Both Blitz and C have one built in so it's not really necessary to write your own.
In Blitz use
noise=Rand(255)
in C use
#include <stdio.h>
noise=rand()&0xff
and in freebasic do
#include "crt.bi"
noise=rand() and &hff
You might want to make sure it's totally random too. You need to seed the random number generator.
In the sample posted that means change 'seed' to be something else.
In Blitz you do
SeedRnd MilliSecs()
In C you do
#include <time.h>
srand(time(NULL));
Jim