Skip to content

Commit ea92064

Browse files
committed
cc mini cdr labels and scripting update
1 parent a0b8f18 commit ea92064

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

5.75 MB
Binary file not shown.

docs/crystal-chips/cc-scripting.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ SET "STRING" "MY_VARIABLE" "Mod your life"
1717

1818
- `STRING` : string (assumed if the below types are not set)
1919

20-
- `U8/S8` : Signed/Unsigned 8-bits number
20+
- `U8/S8` : Unsigned/Signed 8-bits number
2121

22-
- `U16/S16` : Signed/Unsigned 16-bits number
22+
- `U16/S16` : Unsigned/Signed 16-bits number
2323

24-
- `U32/S32` : Signed/Unsigned 32-bits number
24+
- `U32/S32` : Unsigned/Signed 32-bits number
2525

26-
!!! note "Signed/Unsigned definition"
26+
!!! note "Unsigned/Signed definition"
2727

2828
Signed numbers can be negatives, Unsigned can only be positives.
2929

@@ -190,7 +190,9 @@ To display a choice to set a numerical value to a variable
190190
ADDWIDGET "CHOICE" "Title" "Description" "MY_CHOICE" "CHOICE 1" "CHOICE 2" "CHOICE 3"
191191
```
192192

193-
will display a widget with the specified title and description (the description is displayed in the scroll bar), and will set the variable MY_CHOICE to "0", "1", or "2" depending of the user choice. `CHOICE` variables start with 0 and increment. `CHOICE 1` will be 0 when `$MY_CHOICE$` is recalled. `COICE 2` will be 1 and so forth.
193+
will display a widget with the specified title and description (the description is displayed in the scroll bar), and will set the variable MY_CHOICE to "0", "1", or "2" depending of the user choice. `CHOICE` variables start with 0 and increment. `CHOICE 1` will be 0 when `$MY_CHOICE$` is recalled. `CHOICE 2` will be 1 and so forth.
194+
195+
These will be saved as signed 32bit variables.
194196

195197

196198
### CALL

0 commit comments

Comments
 (0)