<font color='black' size='2' face='arial'><font face="arial"><span style="font-size: 10pt;">Hello everyone!</span></font><br>
<br>
<font face="arial"><span style="font-size: 10pt;">I iam trying compile 4 lines prog on linux:</span></font><br>
<div><font face="arial">import Foundation</font></div>
<div><font face="arial">let filemgr = FileManager.default</font></div>
<div><font face="arial">let path = filemgr.currentDirectoryPath()</font></div>
<div><font face="arial">print(path)</font></div>
<div style="color: black; font-family: arial; font-size: 10pt;"><br>
</div>
and get erorr /main.swift:3:40: error: cannot call value of non-function type 'String'
<div>let path = filemgr.currentDirectoryPath()</div>
<div> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~</div>
<div> </div>
<div><unknown>:0: error: build had 1 command failures</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>why?</div>
<div style="color: black; font-family: arial; font-size: 10pt; clear: both;">Roman Pastushkov<br>
xnucleargeminix@aol.com<br>
</div>
</font>