Flash Script?
- Started
- Last post
- 15 Responses
- cosmicEntity
Thought I'd get back into it. Trying some things out - why isn't this working?
REM Program to add or subtract VAT from a price
PRINT "Do you want to -"
PRINT " 1. Add VAT to the net price"
PRINT " 2. Calculate net price from VAT inclusive price"
INPUT "Please enter 1 or 2 " choice
INPUT "Enter price " price
IF choice=1 THEN result = price * 1.175 ELSE result = price / 1.175
PRINT result:(
- T-Dawg0
that looks like php
- Mimio0
hahha. What is that Fortran?
- cramdesign0
You need line numbers. I suggest incrementing by 10. So...
10 REM Program to add or subtract VAT from a price
20 PRINT "Do you want to -"
30 PRINT " 1. Add VAT to the net price"
40 PRINT " 2. Calculate net price from VAT inclusive price"
50 INPUT "Please enter 1 or 2 " choice
60 INPUT "Enter price " price
70 IF choice=1 THEN result = price * 1.175 ELSE result = price / 1.175
80 PRINT result
- acescence0
BASIC ftw
- cramdesign0
When you type "RUN" (without the quotes) this should work for you.
- cosmicEntity0
Sweet - thanks guys!
- 7point340
HAHAHAHA i remember basic... and pascal
good stuff. good stuff
- Pascal, the group94 guy? I met him once. Nice guy.cramdesign
- fugged0
makes me think of high school.
- You learned this stuff in high school?Jaline
- i did while in high school... not from high school.cramdesign
- yeah. basic and pascalfugged
- Nice. I'll be learning a lot of flash stuff in college, if I go.Jaline
- Never did it in high school. We spent more time on video, sound, and photography.Jaline
- wait. you're not still in high school are you jaline?cramdesign
- no, I'm graduating from university next month (4 years).Jaline
- if this is flash its obscenely outdated. i also learned basic and pascal in highschool. computer classes7point34
- yeah, so I'm guessing I will learn different things, depending...Jaline
- fugged0
I think I wrote my first BASIC "program" in the 5th grade ('78 or so) on a TRS 80 model I. It drew a "mountain". It was phat. I totally thought I was going to make a game like defender.
- liveforever0
lol cosmic as usual u ask the most riduculous questions
fuck sake - its clearly out of your grasp so stick to making pizzas at dominos- trollJaline
- GaycosmicEntity
- lol ur response to everything
r u in denial. does pointing the finger make u feel betterliveforever
- acescence0
i used to sit in front of our giant console tv with the stylish wood case, commodore 64 in my lap with the tape tape drive, writing choose your adventure text games. the nerd was strong in me at a young age.
- cosmicEntity0
- you only kidding yourself by hiding ur sexualityliveforever
- flashbender0
- that was my first computer!fugged
- mine tooflashbender
- cassette tape back up. 10" color TV monitor. Hell yeah.flashbender
- my first as well. though i had the floppy disk drive as well.cramdesign