Unit 'AmigaDOS' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

AssignLate

Creates an assignment to a specified path later

Declaration

Source position: amigados.pas line 2053

function AssignLate(

  name: PChar;

  path: PChar

):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: 2021-07-30