This question is an exact duplicate:

There is a Cli_DBRead code (1000,48,4, UnsafeMutalabRawPointer!) With UnsafeMutalabRawPointer! It is necessary to consider the variable how to do it. Tell me please. This code reads data from the controller and must write to UnsafeMutalabRawPointer! I cannot read from there and write to a variable

Reported as a duplicate by Nicolas Chabanovsky 24 Oct '16 at 11:23 .

This question has been marked as a duplicate of an existing one.

  • usually we assign first a variable of the type let a = int and how to write a variable in the code and assign it a value - Marat Gafarov

1 answer 1

Apparently this is a tuple. Access to the elements of the tuple is so

var (_, _, _, yourVar) = Cli_DBRead 

for the test

 print(" necessaryVar - \(yourVar)")