This shows you the differences between two versions of the page.
Last revision | |||
— | xrpl:vectors [2020/02/02 16:32] – created Karsten75 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | Vectors is a new data type that simplifies passing values between commands. | ||
+ | |||
+ | Many commands require a " | ||
+ | |||
+ | Consider the `GetObjPosition` command. | ||
+ | |||
+ | <code PRPL> | ||
+ | | ||
+ | # intermediate operations that may adjust or necessitate the values of x, y, or x | ||
+ | | ||
+ | |||
+ | </ | ||
+ | |||
+ | With vectors, the command is somewhat simplified. | ||
+ | |||
+ | <code PRPL> | ||
+ | | ||
+ | # intermediate operations that may adjust or necessitate the values of x, y, or x | ||
+ | | ||
+ | |||
+ | </ | ||
+ | |||
+ | This becomes more meaningful for complex commands that may necessitate multiple sets of paired elements, such as: | ||
+ | |||
+ | <code PRPL> | ||
+ | BallisticArcLateral(< | ||
+ | </ | ||
+ | |||