typeto the adapter specified by
adapter$. All Hollywood functions that support adapters of the specified type will then default to the adapter set using this function.
The following adapter types are currently supported by Hollywood and can be passed
The default adapter for all the adapter types listed above is
means that plugin adapters will always be asked before Hollywood's inbuilt handlers.
The string you pass in
adapter$ can contain one or more adapters. If several
adapters are specified, they must be separated by
See Loaders and adapters for details.
SetDefaultAdapter(#ADAPTER_FILE, "inbuilt") OpenFile(1, "test.txt")The code above will set the default file adapter to
inbuilt. This means that all Hollywood functions that deal with files will no longer support any plugin file adapters because you've told Hollywood to only use the inbuilt file adapter.