B4X:
Wait For (File.CopyAsync(File.DirRootExternal & "/PhonePats/", strMainDBName, Starter.strSD_DB_Dir, strMainDBName)) _
Complete (bSuccess As Boolean)
Where strDBName is a string variable in Main Sub Process_Globals()
For some reason strMainDBName is not highlighted (purple) in the above code.
Otherwise it shows fine highlighted eg:
B4X:
lblFileCopy.Text = "Copying DB, " & strMainDBName & " (" & strFileSize & ") ..."
RBS