On Apr 20, 2020, at 11:00 AM, Mark Talluto <[email protected]> wrote:

> 
> function csi_soundDirectory
>      local tPath
>      
>      --USEFUL FOR GETTING THE ROOT FOLDER OF THIS APP
>      set the itemDel to slash
>      put specialFolderPath("resources") & slash into tPath
>      return tPath & "/sounds/" & sVehicle —in this example sVehicle contains 
> “lambo"
> end csi_soundDirectory

This function had an extra slash that is not needed. Here is the updated 
function:

function csi_soundDirectory
     local tPath
     
     --USEFUL FOR GETTING THE ROOT FOLDER OF THIS APP
     set the itemDel to slash
     put specialFolderPath("resources") into tPath
     return tPath & "/sounds/" & sVehicle —in this example sVehicle contains 
“lambo"
end csi_soundDirectory

Best regards,

Mark Talluto
livecloud.io <http://livecloud.io/>
nursenotes.net <http://nursenotes.net/>
canelasoftware.com <http://www.canelasoftware.com/>

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to