[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'amigados' (#aros)

AssignLate

Creates an assignment to a specified path later

Declaration

Source position: amigados.pas line 2348

function AssignLate(

  const Name: STRPTR;

  const Path: STRPTR

):LongBool;

Arguments

Name

  

Name of device to be assigned (without trailing ':')

Path

  

Name of late assignment to be resolved on the first reference.

Function result

IoErr() gives more information of fail

Description

Create an assign for the given name, which will be resolved upon the first reference to it. If this succeeds (i.e. the path exists and can be locked) it will be turned into an AssignLock() type assign. This way you can create assigns to unmounted volumes which will only be requested when accessed.

See also

Lock

  

Lock a directory or file

AssignAdd

  

Adds a lock to an assign for multi-directory assigns

AssignPath

  

Creates an assignment to a specified path

AssignLock

  

Creates an assignment to a locked object


Documentation generated on: 2017-01-10