How to use SetVariableAndValue ?

Alex2012

Member
Licensed User
Longtime User
hello i have small question
as the properly way to use SetVariableAndValue ("test1", "eee")
in the later part of the program, I mean the value "eee"
Erel said just use this instead of "Test1"
for example:

Sub lc_Allow
-------------here
Log ("Allow")
End Sub

or here:


End Sub
Sub img_Click
----------- here
Dim iv As ImageView
iv = Sender
Dim Con As BitmapDrawable
Bd = iv.Background
Activity.Bitmap1 = Bd.Bitmap
StartActivity (Activity)
Activity.Finish

End Sub

I'm sorry but I'm newbie


:sign0163:
 

Alex2012

Member
Licensed User
Longtime User
Thank you very much because I was a little confused,
If I use it in this way will be properly;

For example:

Bom
DSQL.Initialize(File.DirInternal ,"db1.db", True)
End Sub

Sub Bom As String
If test_1 ="eee" Then
code1
Else
code2
End If
End Sub



Thank You
 
Upvote 0
Top