n00b question, sorry if this was asked before

I'm working with a simulation right now in breve and it keeps producing a message in the output log that looks like: "double mark of pointer 0x183c1650" over and over and over.

what does this message mean? I looked through the code and it doesn't seem to be a debugging message.

I will appriciate any help.

n00b question, sorry if this was asked before

i would think thats your probably making to two pointers in one list.

n00b question, sorry if this was asked before

This is a harmless debugging message in version 2.3 -- it shouldn't be appearing at all in 2.4 as far as I know...

- jon

n00b question, sorry if this was asked before

well the thing is that it prints a crap-load of those and I'm wondering does it have an effect on the simulation's speed

n00b question, sorry if this was asked before

It does effect simulation speed, but it shouldn't be happening in 2.4. Is there a reason 2.4 doesn't work for you?

- jon

n00b question, sorry if this was asked before

I put in 2.4

the debug vanished. thank you

as long as we're talking about pointers. how do I set a boolean condition that says:
"if X is pointing to NULL" assuming X is type "object"?

n00b question, sorry if this was asked before

I believe all that you need to do is something like this:

if (!X)
then{}
etc..

I think this should work, since much of the steve language works like C, and when working with pointers, this would work.

n00b question, sorry if this was asked before

thnx a lot, that actually halped :D

now, I have a second questions.

I'm suppose to translate a breve program into a vigo program, vigo being based on C++. is there any type in C++ or in vigo that I can use instead of the steve "list"? something equivalent

I would appriciate any help.

n00b question, sorry if this was asked before

I don't know what vigo is, but you can create a list structure in C++ with the STL vector template. Google for "STL vector" for more information.

- jon

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.