[Gambas-user] Issue 178 in gambas: Constants of type "Single" does not work in some cases. Segmentation fault.

gambas at ...2524... gambas at ...2524...
Fri Dec 30 21:59:17 CET 2011


Comment #2 on issue 178 by emil.len... at ...626...: Constants of  
type "Single" does not work in some cases. Segmentation fault.
http://code.google.com/p/gambas/issues/detail?id=178

The VALUE_class_constant_inline(_class, _value, _ind) in gbx_value.h should  
also be updated to properly read singles ;)
otherwise this fails:

Public Const a As Single = 123.45

Public Sub Main
   Print a
End





More information about the User mailing list