PreferenceGroup()

语法

Result = PreferenceGroup(Name$)
概要
Creates a new group (in the form: [Name$]) or changes the current group in the preference file. All following read or write operations will be restricted to this group. To move outside of any groups, an empty 'Name$' can be used.

参数

Name$ The new group name.

返回值

Nonzero if the group was already created, zero otherwise.

Remarks

If the group does not exist yet, it will not be created immediately. It will instead be created once the first key is written to it. This allows to use the PreferenceGroup() function to test if a group exists without creating many empty groups.

已支持操作系统

所有

<- PreferenceComment() - Preference Index - PreferenceGroupName() ->