[Gambas-user] Pointer to Datatypes
tobias
tobiasboe1 at ...20...
Mon Mar 28 19:26:44 CEST 2011
good evening all,
i've been having some trouble for a time with pointers in gambas 2. i
mainly wrote programs in c the last year but now i mainly deal with
gambas again because my class mates want some gui in the programs at
school... it would be the greatest thing if i can pass some pointers to
variables (strings and ints) to a function in a module because a huge
amount of data has to be written to them directly. i could use a
collection, too, but if i fill and return it, i have to worry about
filling the local variables in the calling function. i haven't found
anything to get the address of a variable or something similar and i
also don't know if this could mess up some memory management of gambas
and is therefore not implemented in gb2?
regards,
tobi
More information about the User
mailing list