ID:171001
 
BYOND Version: 341.877

Operating System: Windows XP


Detailed Problem Description: I was making a proc and I forgot to end my text, I goto compile and it reports problems with other pieces of code that have NOTHING to do with that part of code at all.

Does the problem occur:
Every time? Or how often? Every Time

In other games? Yes

On other computers? Yes

In other user accounts? Yes
That's not a bug. You made an error. The compiler is alerting you to the error as best it can, while still attempting to find errors further down.
That is why you should always investigate the first error... well, first. Most compilers will do this in similar circumstances, because the first error confuses how the rest of the code should be interpretted.
In response to Shadowdarke
hrm..that's jacked up, considering how my verbs have nothing to do with my procs at all o_O aiight, just thought it might be since it generated an error for every single line in my verbs file.
In response to Lenox
Lenox wrote:
hrm..that's jacked up, considering how my verbs have nothing to do with my procs at all o_O aiight, just thought it might be since it generated an error for every single line in my verbs file.

Verbs have a lot to do with proccesses...
I think.
In response to Hell Ramen
Well, verbs are somewhat like procs, in a sense, and they can call procs, but mine call none, so therefore have no connection with MY procs.
In response to Hell Ramen
Hell Ramen wrote:
Verbs have a lot to do with proccesses...
I think.

"proc" stands for "procedure".
In response to Lenox
Lenox wrote:
hrm..that's jacked up, considering how my verbs have nothing to do with my procs at all o_O aiight, just thought it might be since it generated an error for every single line in my verbs file.

Well, you see, when you make certain errors, the compiler trys interpretting similar peaces of coding bsaed on your error. Since, of course, your error was just that, and error, it will view similiar pieces of coding as errors even when they aren't.

This commonly occurs with indentation errors, if statements, else statements, and incomplete text.
In response to Lenox
It's not the connection of the verbs and the procs, it's you making the compiler think the whole .dm file was part of a text string that caused the error.

"blah
//code here

DM sees

"blah //code here"

And it compiles like that.

The first error in the list is usually the one that causes the whole mess. Every compiler I've used does it like that.
In response to Nadrew
Ah, I see, how weird..o_O I see how it works now, so the compiler doesn't care, as long as it's in the same project?
Can we get a mod to please delete this then since it was a false report(Stupidity, in other words) on my part?
In response to Lenox
Lenox wrote:
Can we get a mod to please delete this then since it was a false report(Stupidity, in other words) on my part?

The problem with that is, if a mod deleted it, then next time a coder had a similar question, it would have to be answered all over again :)

Don't feel stupid. I can't think of one resource that explains that anyway.
In response to Wizkidd0123
<_<
Soo...
A mob is a mobile object, obj = object, atom = A? Turfs, Objects, Mobile Objects.
Oh well, I'll just call them their shortened name besides trying to remember the full one. >_>
In response to Hell Ramen
Hell Ramen wrote:
<_<
Soo...
A mob is a mobile object, obj = object, atom = A? Turfs, Objects, Mobile Objects.
Oh well, I'll just call them their shortened name besides trying to remember the full one. >_>

Where did you come up with that one? An atom is an atom is an atom stands for an atom.
In response to Wizkidd0123
Noes, what's the "A" in atom stand for? >_>

I think BYOND was meant to make "atom" deal with turfs, objs, mobs, etc.
In response to Hell Ramen
Hell Ramen wrote:
Noes, what's the "A" in atom stand for? >_>

Area
In response to Jon88
Thank you, Jon. :d
That would've bothered me all night.
In response to Jon88
And with my experiences, if you forget to end the "" on a text string or anything, that it will go to the next file in succesion.. Let's say that in your Dream Maker thingy to the left.. you have "Verbs.dm" and right below it you have "Procs.dm" if you didn't in a quotation in "Verbs.dm" the error will carry over to "Procs.dm", even if there is no error, well with the exclusion of something as simple as forgetting a quotation mark, or a parenthesis.. I may not know much, but I have learned that much from my mistakes...

~ChibiGoku04
In response to ChibiGoku04
Come on!

Area
Turf
Object
Mob

Everyone knows!
In response to Kholint
Kholint wrote:
Come on!

Area
Turf
Object
Mob

Everyone knows!

An object is not necessarily an obj. Often programmers refer to anything with variables and methods (procs) as an object. I used to confuse the hell out of people by refering to objects and they would assume I meant objs. Recently, I've tried to stick to the more BYOND specific terms of datum or atom.