profiles Parameter

Specifies profiles to be used by the Editor.

Scope: File

Syntax

query profiles 
set profiles [load] [user] [save] 

Options

load 
If present when a file is loaded, the extension-dependent load macro profile is called after the file is loaded. The name of the load macro is the same as the doctype setting, which is usually the same as the file extension. The load macro's extension is LXL. This macro is used for extension-dependent settings, and especially for invoking the initial parser for the file.
user 
If the user profile (PROFILE.LX) exists, it is called after the file is loaded and after the system profile and the load macro have been called.
save 
If the save macro exists when save is called, it is called to set the formatting defaults. The name of the save macro is the same as the doctype setting, and has an extension of .LXS.

Description

The profiles parameter sets the profiles that are used (if available) by the Editor when you are loading and saving files. By default, all four parameters are used.

Examples

  1. To load only the user profile when a file is loaded, type:
    set profiles user 
  2. To see which profiles have been used when you are loading or saving a file, type:
    query profiles 

API Return Codes

-2 
The option specified with the parameter was not valid. Check the syntax requirements for the parameter and try the set command again.

save Command