Skip to content

Commit 6d30d42

Browse files
authored
Updated and extrapolated caseBlock and defaultCaseBlock
1 parent 781321d commit 6d30d42

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

case.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,16 @@ namespace switchCase {
1616
//Placeholder for CodeGen
1717
}
1818

19-
}
19+
/**
20+
* Default-Case Block Container
21+
*/
22+
//% block="default case"
23+
//% blockId=switchcase_default_case_block
24+
//% group="Control"
25+
//% weight=80
26+
//% draggableStatement=true
27+
export function defaultCaseBlock(): void {
28+
//Placeholder for CodeGen
29+
}
30+
31+
}

switch.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ namespace switchCase {
3434
/**
3535
* Default-Case Block Container
3636
*/
37+
/**********************
3738
//% block="default case"
3839
//% blockId=switchcase_default_case_block
3940
//% group="Control"
@@ -42,6 +43,7 @@ namespace switchCase {
4243
export function defaultCaseBlock(): void {
4344
//Placeholder for CodeGen
4445
}
46+
*********************/
4547

4648

4749
}

0 commit comments

Comments
 (0)