[phpBB Debug] PHP Notice: in file /viewtopic.php on line 988: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Moscow' for 'MSD/4.0/DST' instead
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 988: getdate(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Moscow' for 'MSD/4.0/DST' instead
SolaraGuy.com • View topic - Hello World
New and Old SolaraGuy members should post a hello message here to let everyone know who you are. Tell us about your Solara! We want to know.

Hello World

Postby MCOjerry » Tue Jan 16, 2007 8:39 pm

crispone wrote:10 x=1
20 for x=1 to 100
30 print "Hello World";
40 x=x+1
50 next x



You guys are all youngsters... 8)



W-E-L-C-O-M-E ! ! !


-crisp :evilbat: :drinking:


This looks like something we used to do in computer class on the texas intruments computers and apple IIe's in middle school. Does it fill the screen with Hello World?
2006 SLE V6 Convertible Lunar Mist Metallic w/black top ➬
User avatar
MCOjerry
SolaraGuy Supporter
SolaraGuy Supporter
 
Posts: 4054
Joined: Sat Dec 31, 2005 10:32 pm
Location: Orlando, FL

Postby LatinDragonXJC » Tue Jan 16, 2007 8:56 pm

crispone wrote:10 x=1
20 for x=1 to 100
30 print "Hello World";
40 x=x+1
50 next x



You guys are all youngsters... 8)



W-E-L-C-O-M-E ! ! !


-crisp :evilbat: :drinking:


Sheesh that was soooo BASIC, :lol: pun intended.
User avatar
LatinDragonXJC
SolaraGuy Street Racer
SolaraGuy Street Racer
 
Posts: 1064
Joined: Sun Jul 31, 2005 12:21 am
Location: Chilltown,Jersey City, New Jersey, United States, North America, Earth, Galaxy, Aliens Belly Button

Postby Sebas007 » Tue Jan 16, 2007 8:59 pm

Welcome man !!


Crisp why you increment x at line 40 and then you do a next x at line 50 ?? :P
crispone wrote:10 x=1
20 for x=1 to 100
30 print "Hello World";
40 x=x+1
50 next x



You guys are all youngsters... 8)



W-E-L-C-O-M-E ! ! !


-crisp :evilbat: :drinking:
Image
Sebas007
SolaraGuy Moderator
SolaraGuy Moderator
 
Posts: 2515
Joined: Thu May 12, 2005 4:03 am
Location: Montreal, QC

Postby crispone » Tue Jan 16, 2007 9:14 pm

^^^ I believe you gotta do the increment AND next it to count UP to the 100 and end, eh?


Perhaps me basic recall is gone awry?

TRON it, then we be able to SEE what goin' on fur shur...


-crisp :evilbat: :drinking:
User avatar
crispone
Immitagably Verbose Dude
Immitagably Verbose Dude
 
Posts: 3269
Joined: Sun Sep 17, 2006 12:40 pm
Location: Ohio

Postby Down2TheC » Fri Jan 19, 2007 11:10 am

older basic: it will just print it 50 times.
Newer: You'll get a warning telling not to fuss around with the index of a for-next loop.

Anyway... welcome to the forum. You're obviously a veteran of forum etiquette and it is appreciated.
http://solara.down2thec.com/gallery/
"We need failures in this world... failures gives us lap dances and chicken nuggets and I like both."
User avatar
Down2TheC
SolaraGuy Moderator
SolaraGuy Moderator
 
Posts: 3711
Joined: Sat Dec 25, 2004 12:03 am
Location: Chicago area

Postby shocar4 » Fri Jan 19, 2007 11:13 am

welcome to our world! nice to have ya!
99DWP SC 4psi, TRD shortshifter, 305 RC's, Jim's fuel, iK22, 190lph walbro, ssfc, 170 thermo, greddy catback!(SOLD)
99DWP SC 4psi, Injen CAI, TRD exhaust, TRD shortshifter, Jim's Fuel, Magnecore wires, NGK Iridium IX!(SOLD)
User avatar
shocar4
SolaraGuy Driver
SolaraGuy Driver
 
Posts: 921
Joined: Mon Jun 05, 2006 10:36 am

Postby DoctorMark » Tue Jan 23, 2007 3:55 pm

welcome man!
Image
DoctorMark
Regular SolaraGuy Member
Regular SolaraGuy Member
 
Posts: 140
Joined: Tue Jan 09, 2007 7:29 pm
Location: Houston TX

Postby NeFaRiOuS_SLE » Wed Jan 24, 2007 2:11 am

Code: Select all
c
c   Welcome to SolaraGuy!
c
      Program Welcome

      implicit none
      logical DONE

      DO while (.NOT. DONE)
        write(*,10)
      END DO
   10 format('Welcome to SolaraGuy!')
      END


Try THAT for old!!! Keep in mind I'm 21 though, so don't assume it's C or Visual, and here's a hint: It works on an IBM AS/400 midrange computer.
NeFaRiOuS_SLE
SolaraGuy Semi-Pro Racer
SolaraGuy Semi-Pro Racer
 
Posts: 3502
Joined: Tue Sep 06, 2005 9:59 am
Location: Diamond Bar, CA
Previous

Return to Introductions

Who is online

Users browsing this forum: No registered users and 8 guests