Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug with UDTs?
#5
Quote:FB allows dynamic strings on UDT's, but they won't be automatically deallocated when a local UDT (inside a sub-routine) goes off scope, thus leaking if you don't do myudt.mydynstr = "" at end of the sub.

ARGHHH!!!!!
Thanks for that, i gona hit my head on the wall....
Quess what i forgot to put in the DIM foobar AS UDT... the inevitable shared.

I would fancy it if you would implement a metakeyword.
Code:
$GLOBAL ON
DIM a AS INTEGER
DIM b AS STRING
DIM c AS FLOAT
$GLOBAL OFF
All three above would be globals/shared

So Long, The Werelion!

Please close this >.<
color=red]Look at you, Hacker. A pathetic creature of meat and bone, panting and sweating as you run through my corridors. How can you challenge a perfect, immortal machine?" - Shodan, AI at Citadel Station orbiting Earth[/color]
Reply


Messages In This Thread
Bug with UDTs? - by BastetFurry - 02-23-2005, 01:59 AM
Bug with UDTs? - by steven_basic - 02-23-2005, 02:31 AM
Bug with UDTs? - by Anonymous - 02-23-2005, 04:19 PM
Bug with UDTs? - by v3cz0r - 02-24-2005, 07:17 AM
Bug with UDTs? - by BastetFurry - 02-24-2005, 03:16 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)