jinyistudio Well-Known Member Licensed User Longtime User Mar 5, 2015 #1 Could i writing following code in a service module ? Because i always get a error tell me as following, Why...? Sub Globals Dim Qc As BltData Dim bfbytes(30) As Byte Dim bfindex As Int End Sub Attachments gv.png 77.6 KB · Views: 144
Could i writing following code in a service module ? Because i always get a error tell me as following, Why...? Sub Globals Dim Qc As BltData Dim bfbytes(30) As Byte Dim bfindex As Int End Sub
jinyistudio Well-Known Member Licensed User Longtime User Mar 5, 2015 #3 NJDude said: Services do not have GLOBALS. Click to expand... Hi Could you tell how to declare a local variable in a service module and let all sub could use it in this service ? Upvote 0
NJDude said: Services do not have GLOBALS. Click to expand... Hi Could you tell how to declare a local variable in a service module and let all sub could use it in this service ?
NJDude Expert Licensed User Longtime User Mar 5, 2015 #4 The variables have to be declared on Process_Globals, if you want the variables to be accessible just to the service then make them private, like this: B4X: 'Service module Sub Process_Globals Private myVar As String ... Upvote 0
The variables have to be declared on Process_Globals, if you want the variables to be accessible just to the service then make them private, like this: B4X: 'Service module Sub Process_Globals Private myVar As String ...