According to the language report the default value of variables of type
String is "". Below you find a program which defines a variable text As
String. In the Initialize event I set the content of a text vield to text
& "ok".
I expected to see the text "ok" upon start in the text field.
However, execution shows the text "nullok" in the text field.
Dominik
Dim text As String
Event Test.Initialize()
t.Text = text & "ok"
End Event
$Properties
$Source $Form
$Define Test $As Form
Layout = 1
Layout.Orientation = 1
$Define t $As TextBox
Width = Component.LENGTH_FILL_PARENT
$End $Define
$End $Define
$End $Properties
Original issue reported on code.google.com by dominik....@gmail.com on 6 Aug 2009 at 1:00
Original issue reported on code.google.com by
dominik....@gmail.com
on 6 Aug 2009 at 1:00