Hi
Im declare a user Type in Process_Globals:
So, i create a array of this type
when i try insert some values in this array i get the error below:
Im declare a user Type in Process_Globals:
B4X:
Type Rodovias(Nome As String,NumRodovia As String, Cameras As String,Telefone As String,Imagem As String,act As String)
So, i create a array of this type
B4X:
Public arrRodovias(5) As Rodovias
when i try insert some values in this array i get the error below:
B4X:
rrRodovias(0).Nome = "Rodovia dos Tamoios"
arrRodovias(0).Cameras = "7"
arrRodovias(0).NumRodovia = "SP-99"
arrRodovias(0).Telefone = "0800-055-5510"
arrRodovias(0).Imagem = "img_tamoios.png"
arrRodovias(0).act = "Tamoios2"
B4i line: 48
arrRodovias(0).Nome = \
property 'Nome' not found on object of type 'NSObject *'
Out: Build settings from command line:
ARCHS = armv7
CODE_SIGN_IDENTITY = iPhone
CONFIGURATION_BUILD_DIR = /Users/administrator/Documents/UploadedProjects/ah48dh8/Payload
OTHER_CODE_SIGN_FLAGS = --keychain ah48dh8
PRODUCT_NAME = B4i Example
PROVISIONING_PROFILE = 1d0981bb-65b7-4435-aa0a-ea2be859787e