GLBasic forum

Main forum => GLBasic - en => Topic started by: MEGAMANFAN on 2010-Nov-09

Title: HELLLLLLP!!!!!!!!!!!!!!!!!!!AAAAAAAAAAAAAUUUUUUUUUUUUUUGGGGHHH!
Post by: MEGAMANFAN on 2010-Nov-09
 :'( :'( ...
HERES A CODE TRY TO FIX IT!

                       


Code (glbasic) Select

ALLOWESCAPE TRUE

//message

IF TYPE "start" PRINT "hello TYPE IN your name!(IN lower CASE)" 0, 100, 100
IF TYPE "start" AND message=FALSE THEN message=TRUE

IF TYPE "caleb" THEN PRINT "you are a genius in math!" 0, 200, 200
IF TYPE "bonnie" THEN PRINT "GET THIS BOOGER OFF OF THIS COMPUTOR!!!" 0, 200, 200
IF TYPE "noah" THEN PRINT "your lucky,15 bonus kredits!" 0, 200, 200
IF TYPE "ian" THEN PRINT "baybie boodie boo!" 0, 200, 200
IF TYPE "bethany" THEN PRINT "are you the one that paints murals?" 0, 200, 200
IF TYPE "james" THEN PRINT "i cant beleive that you work in georgia!" 0, 200, 200
IF TYPE ELSE THEN PRINT "you are an unauthorized user." 0, 200, 200

// calebalculator

IF TYPE "calcu" AND calebalculator=FALSE THEN calebalculator=TRUE

IF TYPE "1+1" THEN PRINT "2" 0, 300, 320
IF TYPE "1+2" THEN PRINT "3" 0, 300, 320
IF TYPE "1+3" THEN PRINT "4" 0, 300, 320
IF TYPE "1+4" THEN PRINT "5" 0, 300, 320
IF TYPE "1-1" THEN PRINT "0" 0, 300, 320
IF TYPE "2+1" THEN PRINT "3" 0, 300, 320
IF TYPE "2+2" THEN PRINT "4" 0, 300, 320
IF TYPE "2+3" THEN PRINT "5" 0, 300, 320
IF TYPE "2+4" THEN PRINT "6" 0, 300, 320
IF TYPE "2-1" THEN PRINT "1" 0, 300, 320
IF TYPE "2-2" THEN PRINT "0" 0, 300, 320
IF TYPE "3+1" THEN PRINT "4" 0, 300, 320
IF TYPE "3+2" THEN PRINT "5" 0, 300, 320
IF TYPE "3+3" THEN PRINT "6" 0, 300, 320
IF TYPE "3+4" THEN PRINT "7" 0, 300, 320
IF TYPE "3-1" THEN PRINT "2" 0, 300, 320
IF TYPE "3-2" THEN PRINT "1" 0, 300, 320
IF TYPE "3-3" THEN PRINT "0" 0, 300, 320
IF TYPE "4+1" THEN PRINT "5" 0, 300, 320
IF TYPE "4+2" THEN PRINT "6" 0, 300, 320
IF TYPE "4+3" THEN PRINT "7" 0, 300, 320
IF TYPE "4+4" THEN PRINT "8" 0, 300, 320
IF TYPE "4-1" THEN PRINT "3" 0, 300, 320
IF TYPE "4-2" THEN PRINT "2" 0, 300, 320
IF TYPE "4-3" THEN PRINT "1" 0, 300, 320
IF TYPE "4-4" THEN PRINT "0" 0, 300, 320

// caleburrency

IF TYPE "cur" AND caleburrency=FALSE THEN caleburrency=TRUE

IF TYPE "b to c" THEN PRINT "b x  100   =c"
IF TYPE "c to t" THEN PRINT "c x  20    =t"
IF TYPE "t to b" THEN PRINT "t x  1/2000=b"
IF TYPE "b to t" THEN PRINT "b x  2000  =t"
IF TYPE "t to c" THEN PRINT "t x  1/20  =c"
IF TYPE "c to b" THEN PRINT "c x  1/100 =b"



IF TYPE "exit" THEN END


MOUSEWAIT

END



I WILL TELL YOU MY PASSWORD IF YOU CAN FIX IT
{deal expires 2014 july}
:nw: ...










Title: Re: HELLLLLLP!!!!!!!!!!!!!!!!!!!AAAAAAAAAAAAAUUUUUUUUUUUUUUGGGGHHH!
Post by: MEGAMANFAN on 2010-Nov-09
well,i was making something for mom,so when she types in something it makes words appear! can you help?
Title: Re: HELLLLLLP!!!!!!!!!!!!!!!!!!!AAAAAAAAAAAAAUUUUUUUUUUUUUUGGGGHHH!
Post by: ampos on 2010-Nov-09
just do a search&replace all from GLBasic Editor->

original: (TYPE ")
replaced: (T$=")

and please, read manual :)
Title: Re: HELLLLLLP!!!!!!!!!!!!!!!!!!!AAAAAAAAAAAAAUUUUUUUUUUUUUUGGGGHHH!
Post by: okee on 2010-Nov-09
This should get you started and like everyone said you'll need to read
the manual for the proper commands.
Also try and name your posts better

Code (glbasic) Select
SETSCREEN 640,480,1

//declare the variable to hold the text entered
GLOBAL Val$ = ""
// Declare a variable to hold the message
GLOBAL Message$ = ""

// Repeat until escape key is hit
WHILE KEY(1) <> 1

PRINT "hello TYPE IN your name! and press ENTER" , 100, 100
PRINT "Press ESCAPE key to Exit." , 140, 120
PRINT "Press BACKSPACE to clear text", 120, 140
PRINT Message$ , 140, 200
PRINT "ENTER YOUR NAME: ",60,220
INPUT Val$, 190, 220

ReadInput(LCASE$(Val$))

SHOWSCREEN

WEND

FUNCTION ReadInput: Val$

SELECT Val$
CASE "caleb"
Message$ = "you are a genius in math!"
CASE "bonnie"
Message$ = "GET THIS BOOGER OFF OF THIS COMPUTOR!!!"
CASE "noah"
Message$ = "your lucky,15 bonus kredits!"
CASE "ian"
Message$ = "baybie boodie boo!"
CASE "bethany"
Message$ = "are you the one that paints murals?"
CASE "james"
Message$ = "i cant beleive that you work in georgia!"
DEFAULT
Message$ = "you are an unauthorized user."
ENDSELECT


ENDFUNCTION
Title: Re: HELLLLLLP!!!!!!!!!!!!!!!!!!!AAAAAAAAAAAAAUUUUUUUUUUUUUUGGGGHHH!
Post by: daioz on 2010-Nov-09
Guys just so your aware if you go to his site he's just a kid so really no need for the attitude IMO  :(
Title: Re: HELLLLLLP!!!!!!!!!!!!!!!!!!!AAAAAAAAAAAAAUUUUUUUUUUUUUUGGGGHHH!
Post by: matchy on 2010-Nov-10
MEGAMANFAN making something for your mum and producing pseudo code is perfectly fine. Don't stop being yourself!

Title: Re: HELLLLLLP!!!!!!!!!!!!!!!!!!!AAAAAAAAAAAAAUUUUUUUUUUUUUUGGGGHHH!
Post by: Kitty Hello on 2010-Nov-10
removed the inappropriate posts. I apologize for my behavior.
Title: Re: HELLLLLLP!!!!!!!!!!!!!!!!!!!AAAAAAAAAAAAAUUUUUUUUUUUUUUGGGGHHH!
Post by: Hark0 on 2010-Nov-10
Quiet.... all forums have some Trolls!!!
Title: Re: HELLLLLLP!!!!!!!!!!!!!!!!!!!AAAAAAAAAAAAAUUUUUUUUUUUUUUGGGGHHH!
Post by: ketil on 2010-Nov-10
Do posts like this really belong in our forum  :giveup:
Why not delete them at once, and give the poster an explanation (ex. that it's inapropriate) ?
Title: Re: HELLLLLLP!!!!!!!!!!!!!!!!!!!AAAAAAAAAAAAAUUUUUUUUUUUUUUGGGGHHH!
Post by: Ian Price on 2010-Nov-11
QuoteDo posts like this really belong in our forum  :giveup:
Why not delete them at once, and give the poster an explanation (ex. that it's inapropriate) ?
The poster may be a lot younger than the rest of us, but his enthusiasm makes up for his lack of netiquette, maybe?

Give him a chance. Of course it might be spam/trolling. But he might be a genuine user, interested in programming with GLBasic.

We get far worse posts on a daily basis - I (and the other mods) just delete many of them before they're even seen...
Title: Re: HELLLLLLP!!!!!!!!!!!!!!!!!!!AAAAAAAAAAAAAUUUUUUUUUUUUUUGGGGHHH!
Post by: MrTAToad on 2010-Nov-11
And a good job, you do too!
Title: Re: HELLLLLLP!!!!!!!!!!!!!!!!!!!AAAAAAAAAAAAAUUUUUUUUUUUUUUGGGGHHH!
Post by: Hatonastick on 2010-Nov-11
Yeah, I've been wondering why most of my posts don't end up on the forum.  :rant:  =D
Title: Re: HELLLLLLP!!!!!!!!!!!!!!!!!!!AAAAAAAAAAAAAUUUUUUUUUUUUUUGGGGHHH!
Post by: Ian Price on 2010-Nov-11
Now you know HOAS  ;) :P
Title: Re: HELLLLLLP!!!!!!!!!!!!!!!!!!!AAAAAAAAAAAAAUUUUUUUUUUUUUUGGGGHHH!
Post by: okee on 2010-Nov-12
Ian what's up with your avatar, it appears sometimes and other times it doesn't
seen it happen in all the forums just with yours
Title: Re: HELLLLLLP!!!!!!!!!!!!!!!!!!!AAAAAAAAAAAAAUUUUUUUUUUUUUUGGGGHHH!
Post by: Ian Price on 2010-Nov-12
QuoteIan what's up with your avatar, it appears sometimes and other times it doesn't
seen it happen in all the forums just with yours
No idea - it always works fine for me, and I use it at RR, GP32X and several other forums. It's just an animated GIF, so the forum shouldn't have any problems with it. I've used the same avatar for about 10 years. Dunno.