HELLLLLLP!!!!!!!!!!!!!!!!!!!AAAAAAAAAAAAAUUUUUUUUUUUUUUGGGGHHH!

Previous topic - Next topic

MEGAMANFAN

 :'( :'( ...
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: ...










think of a number x 2+22 divide 2-1st number = my grade in math!!!

(11)

MEGAMANFAN

well,i was making something for mom,so when she types in something it makes words appear! can you help?
think of a number x 2+22 divide 2-1st number = my grade in math!!!

(11)

ampos

just do a search&replace all from GLBasic Editor->

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

and please, read manual :)
check my web and/or my blog :D
http://diniplay.blogspot.com (devblog)
http://www.ampostata.org
http://ampostata.blogspot.com
I own PC-Win, MacBook 13", iPhone 3G/3GS/4G and iPAC-WinCE

okee

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
Android: Samsung Galaxy S2 -  ZTE Blade (Orange San Francisco) - Ainol Novo 7 Aurora 2
IOS: 2 x Ipod Touch (1G)

daioz

Guys just so your aware if you go to his site he's just a kid so really no need for the attitude IMO  :(

matchy

MEGAMANFAN making something for your mum and producing pseudo code is perfectly fine. Don't stop being yourself!


Kitty Hello

removed the inappropriate posts. I apologize for my behavior.

Hark0

Quiet.... all forums have some Trolls!!!
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

ketil

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) ?
"Sugar makes the world go 'round. Caffeine makes it spin faster."

Ian Price

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...
I came. I saw. I played.

MrTAToad


Hatonastick

Yeah, I've been wondering why most of my posts don't end up on the forum.  :rant:  =D
Mat. 5: 14 - 16

Android: Toshiba Thrive Tablet (3.2), Samsung Galaxy Tab 2 (4.1.2).
Netbook: Samsung N150+ Netbook (Win 7 32-bit + Ubuntu 11.10).
Desktop: Intel i5 Desktop with NVIDIA GeForce GTX 460 (Win 8.1 64-bit).

Ian Price

I came. I saw. I played.

okee

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
Android: Samsung Galaxy S2 -  ZTE Blade (Orange San Francisco) - Ainol Novo 7 Aurora 2
IOS: 2 x Ipod Touch (1G)

Ian Price

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.
I came. I saw. I played.