Struct Field Access (Expression) — oopsk

Addon: oopsk · Category: Expression · Since: 1.0

Syntax

[the] field <[\w ]+> [of] %struct%
%struct%'[s] <[\w ]+> field
%struct%[ ]->[ ]<[\w ]+>

Description

Access a field of a struct. The field name is case insensitive. Non-constant fields can be set, reset, or deleted.

Examples

set the field name of {_struct} to "test"
set {_struct}'s name field to "test"
reset {_struct}->name

View source