You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An error is signaled when an option isn't found in a record. When
callers require the option be set, this behavior allows them to avoid
doing the error handling. On the other hand, callers checking whether
a non-essential option might be present need to catch the error if
they want to use get_record_option().
At this point, it's not clear which case will be more common, but
switch to the NULL values to make processing a bit more concise for
the "not required" case, as suggested by @seth127 and @barrettk.
In gh-1, the idea of maintaining the set of valid options for a record came up for two reasons:
get_record_option
to error if an unknown option is passedThe main complication is that
*_option_names
environment for records covers most of the options, but some are missing:option_pos
names (that includesoption_nested
, which is a subclass ofoption_pos
)matrix_prefix_options
option_record_name
option (not very interesting)The text was updated successfully, but these errors were encountered: