Newest Members
susanhepp, Breathe, georgetwo, frozen45, lilac
12291 Registered Users
Today's Birthdays
Guillermo (37), illbedat (26), Mike58 (56), Mnovit (38), Mongo (24), pwdasw (64), Raymond Sean (38), yesac76 (38)
Who's Online
2 registered (randombreeze, 1 invisible), 23 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
12291 Members
73 Forums
63230 Topics
442166 Posts

Max Online: 418 @ 07/02/12 07:29 AM
Twitter
Page 2 of 2 < 1 2
Topic Options
#195095 - 12/13/07 01:38 PM Re: My latest BASIC computer program [Re: alexey]
Lazarus Offline
Member
MaleSurvivor

Registered: 07/01/07
Posts: 851
Loc: Below the radar, USA
OK I've got to throw this one in, even though it will definately give away my age;

Back in the days of BBS's, you could log on and browse a list of files that were available for download. This one caught my eye and I remember it all these years later;

"WOMAN.EXE - Excellent Program, No Docs"

Ain't THAT the truth!

Cheers!

Lazarus

_________________________
"That which does not kill us, surely makes us stonger." - Neitsche

Top
#195114 - 12/13/07 04:30 PM Re: My latest BASIC computer program [Re: Lazarus]
frost Offline
Member
MaleSurvivor

Registered: 03/15/07
Posts: 1377
Loc: Eh?
This thread has brought out all the programmers.. this is great.

How's about we try on some PHP for size?

//First, get the current thought from the brain.
$CurrentThought = $_BRAIN['CurrentThought'];

//Setup a function to process the thought
function CorrectThought($CurrentThought){
  echo"It wasn't your fault.\n";
  echo"$CurrentThought is a lie.";
  $CurrentThought="I Am Worth It";
}

//Create a loop to run until all lies are corrected.
while($CurrentThought!="I Am Worth It"){
  CorrectThought($CurrentThought);
}

If only correcting my brain was that easy...

Now obviously only one thought will end the loop, being, "I Am Worth It"... We could create an array which would contain all sorts of positive thoughts so any positive thought could end the loop.

_________________________
Boom!

Top
#195115 - 12/13/07 04:42 PM Re: My latest BASIC computer program [Re: frost]
FormerTexan Offline
Site Administrator
MaleSurvivor
Registered: 09/12/04
Posts: 11028
Loc: Denver, CO
self@heart$> ps -ef | grep itsmyfault
itsmyfault 1932 03:04:00

self@heart$> kill -9 1932

self@heart$> find / -name notmyfault -print

_________________________
List of things ain't nobody got time for:

1. That


If I could meet myself as a boy...

Top
#195323 - 12/15/07 12:48 AM Re: My latest BASIC computer program [Re: alexey]
healing_inside Offline
Member
MaleSurvivor

Registered: 03/28/05
Posts: 2005
Rem I did some basic programming on my VIC 20 also.

Rem was the only command i remember, you can tell i didn't go very far with programming, but I still have my VIC 20 computer.

Got it for $99.00 at Toys R US sometime in the 80's. The computer consisted of a cream colored keyboard with oversized function keys and that was it. The cassette tape drive was extra, which i still have.

I had a lot of fun with it, you made me smile and remember some good times in my childhood.

-Jim

_________________________
I can't come to the phone right now, I am out living my life

*** WoR Retreat Alumni - Alta 2005 ***

Top
Page 2 of 2 < 1 2


Moderator:  ModTeam, TJ jeff 

I agree that my access and use of the MaleSurvivor discussion forums and chat room is subject to the terms of this Agreement. AND the sole discretion of MaleSurvivor.
I agree that my use of MaleSurvivor resources are AT-WILL, and that my posting privileges may be terminated at any time, and for any reason by MaleSurvivor.