User Tools

Site Tools


ugbasic:user:kw:configure
Translations of this page:


ugBASIC User Manual

CONFIGURE

SYNTAX

   CONFIGURE STATIC hw SET p1 = v1 [, p2 = v2 [, ...]]
   CONFIGURE DYNAMIC hw SET p1 = v1 [, p2 = v2 [, ...]]

PURPOSE

The CONFIGURE command allow to customize hardware configuration, and gives the possibility of generating hardware selection menus via software. The configuration allows two types of manipulation: a STATIC one, which is adopted at compilation time (useful for development and unconventional startup) and a DYNAMIC one, which is adopted at execution time (useful for creating configuration menus). Static changes must begin with the CONFIGURE STATIC keywords, while dynamic changes must begin with the CONFIGURE DYNAMIC keywords. By default, the changes are to be considered static.

Each hardware change request must begin with the CONFIGURE keyword followed by the name of the hardware to be configured. Each request for hardware modification must concern one or more parameters prefixed by the SET command. The value that can be assigned to these variables must be consistent with the expected and acceptable values.

Finally, it is possbile to assign multiple values consecutively, separating them with a comma, without using the SET command.

ABBREVIATION

 Cfg

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY