Search found 32 matches

by jorgejones
Tue Nov 20, 2007 3:42 pm
Forum: Coding Questions
Topic: why is my pointer not being recognized in the struct?
Replies: 36
Views: 6406

not a problem
i am trying to make code not enemies :D
by jorgejones
Tue Nov 20, 2007 3:10 pm
Forum: General Discussion
Topic: lua library
Replies: 3
Views: 1945

lua library

i refer from http://www.purebasic.fr/english/viewtopic.php?t=8056&postdays=0&postorder=asc&highlight=lua&start=15
where i could find the includes for lua5.1

however when i try the example with the custom average function it returns 0.0 in both return values

anyone know how to solve this?

ps: is ...
by jorgejones
Tue Nov 20, 2007 1:02 pm
Forum: Coding Questions
Topic: why is my pointer not being recognized in the struct?
Replies: 36
Views: 6406

thanks again srod
i pmed you my gmail address

i might need more coffee if i want to pull this one off :x
by jorgejones
Tue Nov 20, 2007 1:01 pm
Forum: Coding Questions
Topic: New to PureBasic
Replies: 9
Views: 2070

i found the original tools quite handy but i have not got to a point where i need something ''better'' so i can not tell :)

5th cup of coffee
by jorgejones
Tue Nov 20, 2007 12:58 pm
Forum: Coding Questions
Topic: how does the "as" operator work?
Replies: 3
Views: 1087

oh i thought it could be used for assigning a variable in a loop :(
sorry
by jorgejones
Tue Nov 20, 2007 10:22 am
Forum: Coding Questions
Topic: why is my pointer not being recognized in the struct?
Replies: 36
Views: 6406

this is more of a comprehension issue ive been "reading the f manual" and you could see this if you witnessed my little progress on the code i just can not get around the concept on a 100% yet

if thats a motive for laughter then go on

at least i learn how to create heaps properly and some other ...
by jorgejones
Mon Nov 19, 2007 8:53 pm
Forum: Coding Questions
Topic: why is my pointer not being recognized in the struct?
Replies: 36
Views: 6406

well as i mentioned i have a parent then objects and inside those objects i have more objects

the tree i described pretty much is what im after

yet i would like to make more than an universe and each should be independent

the main purpose is to later on test a few theories i have about wormholes ...
by jorgejones
Mon Nov 19, 2007 8:31 pm
Forum: Coding Questions
Topic: why is my pointer not being recognized in the struct?
Replies: 36
Views: 6406

so im still doomed about this :lol:
and for the first time im beginning to feel frustrated about it

to put it in a simpler context say id wanted to make particles with emitters or have xml nodes with childs or something like this how can i manage it in a transparent way { a way that could let me ...
by jorgejones
Mon Nov 19, 2007 8:21 pm
Forum: Coding Questions
Topic: why is my pointer not being recognized in the struct?
Replies: 36
Views: 6406

i dont know why but when i use the debugger i almost get no memory errors with this sort of code :?

on a side note:: is it possible to define a linkedlist inside another?

something like this i mean

Code: Select all

NewList childs.child()
NewList childs()\offsprings.offspring()
:?
by jorgejones
Mon Nov 19, 2007 6:21 pm
Forum: Coding Questions
Topic: why is my pointer not being recognized in the struct?
Replies: 36
Views: 6406

the fact that whether i allocate it or not it always returns just fine instead of giving me an error :?
by jorgejones
Mon Nov 19, 2007 6:08 pm
Forum: Coding Questions
Topic: how does the "as" operator work?
Replies: 3
Views: 1087

how does the "as" operator work?

when i try to use the AS operator it raises an error, how can i use it?

i tried

foreach temp() as var
....

yet it doesnt let me whats the point of it being highlighted if its not supported?
by jorgejones
Mon Nov 19, 2007 6:02 pm
Forum: Coding Questions
Topic: why is my pointer not being recognized in the struct?
Replies: 36
Views: 6406

thanks i will

about the memory issue how do i get rid of that? it wont raise an error even if i allocate just 1 byte :?
by jorgejones
Mon Nov 19, 2007 4:58 pm
Forum: Coding Questions
Topic: why is my pointer not being recognized in the struct?
Replies: 36
Views: 6406

srod: i will read more i just cant test if it keeps on smiling on me while things could be wrong do you know why is this happening?

psychophanta: thanks but i still have the problem with multiple structs with dynamic elements!

:?
by jorgejones
Mon Nov 19, 2007 4:33 pm
Forum: Coding Questions
Topic: why is my pointer not being recognized in the struct?
Replies: 36
Views: 6406

if i could manage linked lists in a nice way and also access their data without having to call functions perhaps i should try those instead ?

i just wanted this to work :cry:
by jorgejones
Mon Nov 19, 2007 4:24 pm
Forum: Coding Questions
Topic: why is my pointer not being recognized in the struct?
Replies: 36
Views: 6406

thanks { i will read that last post twice or more to fully understand it }

so far i got a question:: could this be adapted to my multi-structure case using my peek/poke idea?

i just can not test in here because anything i do returns fine which i think is not correct

why is this happening in this ...