Qbasicnews.com

Full Version: Structured Programming
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
am i the only one who thinks this guy is fake?

ooh and aga elaborate on the "blame fbide" statement please.
Quote:am i the only one who thinks this guy is fake?

im a bit unsure. the other day im sure he posted something that looked a bit too literate, which made me think he's just pulling our chains.
What did I post that was too literate??? My paint program is probably my first program to have some structure, I'm sure I can dig up some examples of programs that didn't even use GOSUB's let alone GOTO's, SUB's, and FUNCTION's.
FBIde doesn't separate SUBs and functions yet, as far as I know.

BTW:
To make a program work in the Starcraft trigger editor (OR ANY OTHER TRIGGER EDITOR!), AFAIK, you need to make a HUGE SPAGHETTI CODE PROGRAM! That's where axipher started his adventures it appears.
Quote:FBIde doesn't separate SUBs and functions yet, as far as I know.

BTW:
To make a program work in the Starcraft trigger editor (OR ANY OTHER TRIGGER EDITOR!), AFAIK, you need to make a HUGE SPAGHETTI CODE PROGRAM! That's where axipher started his adventures it appears.
What? Starcraft editor is event based.. Thats the whole point of using triggers..
Quote:
Agamemnus Wrote:FBIde doesn't separate SUBs and functions yet, as far as I know.

BTW:
To make a program work in the Starcraft trigger editor (OR ANY OTHER TRIGGER EDITOR!), AFAIK, you need to make a HUGE SPAGHETTI CODE PROGRAM! That's where axipher started his adventures it appears.
What? Starcraft editor is event based.. Thats the whole point of using triggers..

You are misguided young StarCraft adventurer, yes StarCraft tirggers are event based, in other words, for certain players, when all of the conditions are met, the actions take place, you can also add a preserve trigger to make iot a loop while the conditions are being met, so it's like IF...THEN and WHILE...WEND loops. Now what I mean by misguided is that there are text-based trigger editors and there was one trigger editor I saw that actually allowed you to program in other languages and it compiled the code into triggers, very advanced triggers. Now I never thought about it Aga, but maybe my programming techniques also derived from my years of day-by-day map making and having triggers that can be created in any order and still work the same. So I guess in a way, my programming techniques are pretty much structured by StarCraft's standards.
No, no, no....

To write a proper Starcraft scenario system that is linearly based, you must use the equivalent of GOTOs. One trigger activates another which activates another, etc. I'm not talking about making junky little scenarios with junky little independent events... I'm talking about Monopoly!

For my Starcraft Monopoly game, what would consist of a few loops and some instructions in QB/FB code is a pile of GOTOs jumping from one trigger to another...
Quote:No, no, no....

To write a proper Starcraft scenario system that is linearly based, you must use the equivalent of GOTOs. One trigger activates another which activates another, etc. I'm not talking about making junky little scenarios with junky little independent events... I'm talking about Monopoly!

For my Starcraft Monopoly game, what would consist of a few loops and some instructions in QB/FB code is a pile of GOTOs jumping from one trigger to another...

GOTO's in StarCraft would be switches, are combination of switches for larger numbers through binary, I use about 8 switches for the binary number, then certain events happen when the binary number is it's corresponding number, it's a technique not used by many, but very cheap and effective.
Yes, it is, but it's more programming. (Good thinking! I use that in Monopoly as well, but for random numbers only, so far.)

A FB-SC converter would be nice. *starts dreaming*
Man, that would be sweet, that or making a fb version of Starcraft and the triggers can be made using a trigger editor or by text, man, sweeeeeet. *Starts day-dreaming also*
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16