mercredi 29 juin 2016

String declaration Error or "With B4R I always feel like a noob!"

Hi Guys...

Why does this code give an error?

Code:
  'in Globals:
Private XDirection as string

'In AppStart:
Dim x = Rnd(0,2) As Int
If x = 0 Then
XDirection =
"Up"
Else
XDirection =
"Down"
End If
I get this warning:


from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/297DOAb
via IFTTT

Aucun commentaire:

Enregistrer un commentaire