Structure of a .warp file
A .warp file is a sequence of @Name { ... } sections. Which sections apply depends on @Properties/Type:
| Section | Program | Screen | Table |
|---|---|---|---|
@Documentation | top level | top level | nested inside @Structure |
@Properties | yes | yes | yes (only Type) |
@Structure | no | no | yes |
@Fields | no | no | nested inside @Structure |
@Indexes | no | no | nested inside @Structure |
@References | yes | yes | no |
@Variables | yes | yes | no |
@Parameters | yes | no | no |
@Layout | yes (optional) | yes | no |
@Source | yes | yes | no |
A .warproj/.warpcfg doesn’t describe an object — they use their own top-level sections (@Project, @GeneratorConfig) — see Project file.
General syntax
- Comments:
//to end of line. - Strings: double or single quotes interchangeably (
"text"and'text'are semantically the same). - Variables: always with
&(&Username); table field names go without&inside aFor Each/New. - Every top-level section carries
@; control names inside@Layoutmay carry@optionally (@Label/Labelare equivalent).