cannot maintain variables in the subs

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re »

Mitth'raw'nuruodo wrote:Ok, so now MOORPG is a program in QB thats a HUGE world with nice grass, moving water, and no core...Oh yeah its 300MB! I love it! Woo!
:roll:
Go ahead and try doing it yourself.
I have left this dump.
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Ummm....Rattra its I don't consider it a language because its nothing more than a markup language or what you would call a style/font/tabulate language which is no language. It's something to make something look pretty. Where are the variables? arrays? functions?etc. etc. etc.

No seriously, I taught myself HTML in only 8 hours! Now Javascript is a language....

Z!re I was just kidding that probaly took a lot of time and didn't mean to insult it. Oh yeah, I would want to do something like that.
"But...It was so beutifully done"
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt »

The L in HTML means "language". Considering it "programming" is different though. It's certainly not procedural programming by any means, but it's more than just writing up a document in MS Word. To that effect, it's programming, but at a much lower level.
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

I agree but a MUCH LOWER LEVEL.
BTW: HTML stands for (If memory serves), HyperText Markup Language

But when I write up something on MS Word I don't call it programming. And since HTML is along the same level as MS Word, why start calling it programming there. Its not programming. Its a program. Its just not as user-friendly as MS Word.

BTW anyone realize that were talking about HTML and not QB again? He, he, go figure, we have short attention spands. :lol:
"But...It was so beutifully done"
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt »

Some people who have no balls prefer to make webpages in MS Word. I call them cowards. :D Others prefer to write HTML code in Notepad or another editor. I call them webpage programmers. :D See the difference? :)
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

I do it in an editor that is like notepad, you write all the code yourself, but you can see the result by not even having to put it online, yet!

Oh, yeah Frontpage sucks...
It puts in too many unnecessary HTML tags.

Mind you that I still don't consider HTML a programming language, so webpage programming is ONLY programming when you include javascript, or another scripting language. Javascript is a C and HTML hybrid, it has C based programming, but HTML tags that are the Standard Objects, or what we call DOM.
"But...It was so beutifully done"
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt »

Frontpage is browser abuse... :?
Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re »

In which way is HTML not script programming?



When you produce a sequence of letters/words/bytes that make a computer/machine perform a given task. You have programmed it.

HTML is no more or less programming than ASM.
In the meaning of the word that is.

Ofcourse, different types of programming languages/methods require different amount of knowledge, HTML being one of the easier :P
I have left this dump.
Rattrapmax6
Veteran
Posts: 1055
Joined: Sun Jan 02, 2005 2:11 pm
Location: At my computer
Contact:

Post by Rattrapmax6 »

HTML in Notepad, you can do QB in the Notepad too, lol,. You prob knew that already, hehe!,. Be nice if you have a FreeHTML, like FreeBasic or something colorful...

Yeah, I found a online tut, I'm going to rewrite my web site with HTML, and put it on my FTP space,. notepad doesn't take up 20megs as fast as AOL's auto HTML editor thing.. :wink:

PS: If you got windows, and your using NotePad,. save a copy under "Filename.html" and put in any folder you want. Use Enternet Explorer and switch it to search you hard drive,. you can see your site b4 you put it online. :D :wink: I tried this bout a few hours ago, work right well, corse I've havn't tried with images yet.. :mrgreen:

:mrgreen: < Hehe, that emoticon, so weird, but so funny. :lol:
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Rattra, try The Free HTML Editor by CoffeeCup.

It has a color sceme!

Oh yeah, Z!re would you consider RPG Maker II programming? OR When you use Microsoft Word programming?
"But...It was so beutifully done"
Rattrapmax6
Veteran
Posts: 1055
Joined: Sun Jan 02, 2005 2:11 pm
Location: At my computer
Contact:

Post by Rattrapmax6 »

Mitth'raw'nuruodo wrote: Oh yeah, Z!re would you consider RPG Maker II programming?
:shock: Umm Mitth... Have you ever used RPG Maker II?? I has it's own language in it, you have to program it to get it to do things, otherwise, you have no RPG,.. :wink: And trust me, that lil built in language can get right advance.

8) It's better than it sounds, and your programming in PS2!!! :D
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Ummm...I wasn't meaning to imply that it was in...
The fact that I said whether he thought RPG Maker II OR MS Word as programming was ment as which he considers a language.

I consider RPG Maker II a language, but not Word therefore not HTML.

That was my point.

Oh, yeah LOL :lol: . Were up to, lets see... :shock: ...131 posts AND 7 pages!!!! Wow, Thats a record, I wonder how many pages per thread this forum can handle? He, He....*Mit's face has an evil look* :twisted: !
"But...It was so beutifully done"
Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re »

To program = To make an object perform a certain task.

You can program a human, or a dog, or a car, or a computer, or a tree...
etc...


So, in the meaning of the word, you can program in MS Word, provided you make the computer perform a given task (and not just displaying letters, because that is not you, that would be MS Word itself)


And dont bother, there's no limit on number of pages, it's just an increasing counter, I'd say it's set to 3 or 4 digits, meaning 999 or 9999 pages max.
I have left this dump.
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Z!re wrote:So, in the meaning of the word, you can program in MS Word, provided you make the computer perform a given task (and not just displaying letters, because that is not you, that would be MS Word itself)
Ummm...Z!re all you do in HTML is what you do in Word...Just you write down the code, and not click buttons, which write it for you...Also word has a simmular DOM to IE.
Z!re wrote: And dont bother, there's no limit on number of pages, it's just an increasing counter, I'd say it's set to 3 or 4 digits, meaning 999 or 9999 pages max.
Oh there's a limit to how much memory this site can hold....If its unlimited, then there's always how much memory the internet can hold before it CRASHES! He, he, he :D . But I'll think we will either die before then or get the pages above a 10000. So lets see, were at 7 right? only 9993 pages to go!
"But...It was so beutifully done"
Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re »

Ok, so I dont code then, I just write letters, I don't actually induce the current into the CPU. Silly me.

Mitth, just look up the damn word "Programming", trust me, HTML is programming, or actually, scripting, if you want to be picky.
I have left this dump.
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Yes, Z!re your right....if you want to be VERY technical.

You see this post IS in essince HTML, It has all of the tags as the HTML.
"But...It was so beutifully done"
Rattrapmax6
Veteran
Posts: 1055
Joined: Sun Jan 02, 2005 2:11 pm
Location: At my computer
Contact:

Post by Rattrapmax6 »

You might be able to use HTML in here, or it says you can...


<IMG SRC="http://members.aol.com/rattrapmax6/images/xtr.bmp">


^ If you see the code, it must not have worked,. if you see my logo, IT WORKED! :D !!!

Say, heres some RPG Maker II code 4 ya...

Code: Select all

001   Text: Clear Message
002   Script Branch: Sort: Variable |System Generat..
003     Script Branch: Apply If: Number is + 0
004     Text: Message |Who are you talking to?|
005     Script Branch : To End
006   Script Branch: Apply If: Number is + 4
007     Text Content: Input: Dysplay |Leader Name|
008     Script Branch: Condition: Flag |Sample Flag|
..ect...
T :) hat was some Error prog sent with it,. corse you don't type this, but you got tons of menus of code, and you have to know what they do... Better this way, typing with remote sucks!! :D Oh, sept Text: Message,. you have to type the message. :cry:

Hehe,. I think this forum info links back to the PHPBB site thing, I'm not sure,.. but we'll sure use the heck out of this thread!!
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Well it worked. :twisted: Now I can do HTML on here! He, he!
:shock: I wonder if Javascript works on here too? :wink:

I'll try it later. 8)

Notice how we strayed from QB again....lol :lol:

I wonder if this has a limit? :roll:

BTW, Rattra I'm right behind you in posts! Exactly 6 posts!
"But...It was so beutifully done"
Rattrapmax6
Veteran
Posts: 1055
Joined: Sun Jan 02, 2005 2:11 pm
Location: At my computer
Contact:

Post by Rattrapmax6 »

Well,. the codes

<html>
<body>
<p>

don't work,. oh well, I don't know what others don't work, but they say not all will. :wink:

PS: Edit: :shock: , I betta pick up the pace! 6?!?
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

He, Yep.

I wonder If I can't make a game and put it in here....

I'll have to test Javascript....Ummm....How do you know that the <Body> and <Head> tags don't work?
"But...It was so beutifully done"
Post Reply