On lundi 23 juin 2008, Ron wrote: > Hi, > > This will raise a signal 11 and produce a coredump > > PUBLIC SUB Form_Open() > > DIM b[2] AS Byte > > b[0] = &H1 > b[1] = &H2 > > txtBox.Text = Str$(b) > > END > > I know the Str$ is complete bogus, but to dump core on that... > > Gambas 2.7.0 > Debian 4.0 > > Regards, > Ron. >
I admit that static array are bogus: Str$(b) syntactically means nothing, and you should get an error instead of a crash. As for Str$() by itself, I don't think it so bogus. I suggest you read carefully the documentation of the function. Regards, -- Benoit Minisini ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user