Skip to content

Commit 9094377

Browse files
authored
Merge pull request #8 from grymmjack/v0.10.5
v0.10.5.1
2 parents 20bcf63 + 11aab40 commit 9094377

File tree

1,032 files changed

+92077
-19110
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,032 files changed

+92077
-19110
lines changed

.vscode/tasks.json

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,6 @@
7373
"reveal": "always",
7474
"panel": "shared"
7575
}
76-
},
77-
{
78-
"label": "release",
79-
"type": "shell",
80-
"windows": {
81-
"command": "move-item",
82-
"args": [
83-
"\"${workspaceFolder}\\*.vsix\"",
84-
"\"${workspaceFolder}\\releases\"",
85-
"-Force"
86-
]
87-
}
8876
}
8977
]
9078
}

help/$ASSERTS.md

Lines changed: 80 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,18 @@ h4 {
2727
border: 0 !important;
2828
}
2929
h5 {
30-
margin: 0 0 1em 0 !important;
30+
margin: 0 0 0.5em 0 !important;
3131
color: #88f !important;
3232
border: 0 !important;
33+
font-style: italic !important;
34+
font-weight: normal !important;
3335
}
3436
code {
3537
background: #000 !important;
3638
margin: 0 !important;
3739
padding: 8px !important;
38-
border-radius: 8px !important;
39-
border: 1px solid #567 !important;
40+
border-radius: 4px !important;
41+
border: 1px solid #333 !important;
4042
}
4143
pre > code {
4244
background: transparent !important;
@@ -52,18 +54,51 @@ blockquote {
5254
padding: 0 1em !important;
5355
}
5456
pre {
55-
border-radius: 8px !important;
56-
border: 1px solid #567 !important;
57+
border-radius: 4px !important;
58+
background: #000 !important;
59+
border: 1px solid #333 !important;
5760
margin: 0 !important;
58-
box-shadow: 0px 5px 0px rgba(0, 0, 0, 0.25) !important;
5961
}
6062
a:link, a:visited, a:hover, a:active {
6163
color: #ff0 !important;
6264
}
63-
65+
br + pre {
66+
border-radius: 0 !important;
67+
border-style: inset !important;
68+
border-width: 5px !important;
69+
border-color: #999 !important;
70+
background-color: #000 !important;
71+
box-shadow: 0px 10px 3px rgba(0, 0, 0, 0.25) !important;
72+
margin-top: -1em !important;
73+
}
74+
br + pre::before {
75+
content: "OUTPUT \A" !important;
76+
color: #555 !important;
77+
border-bottom: 1px solid #333;
78+
font-size: x-small;
79+
display: block !important;
80+
padding: 0 3px !important;
81+
margin: -1em -1em 1em -1em !important;
82+
-webkit-user-select: none; /* Safari */
83+
-ms-user-select: none; /* IE 10 and IE 11 */
84+
user-select: none; /* Standard syntax */
85+
}
86+
br ~ h5 {
87+
margin-top: 2em !important;
88+
}
89+
.explanation {
90+
color: #995 !important;
91+
/* background-color: rgba(150, 150, 100) !important; */
92+
border-radius: 10em !important;
93+
border: 2px #441 dashed !important;
94+
padding: 8px 32px !important;
95+
margin-bottom: 4em !important;
96+
font-size: x-small !important;
97+
}
6498
</style>
6599

66-
## [\$ASSERTS](\$ASSERTS.md) [📖](https://qb64phoenix.com/qb64wiki/index.php/$ASSERTS)
100+
101+
## [\$ASSERTS](\$ASSERTS.md) [📖](https://qb64phoenix.com/qb64wiki/index.php/%24ASSERTS)
67102
---
68103
<blockquote>
69104

@@ -83,9 +118,38 @@ a:link, a:visited, a:hover, a:active {
83118

84119
<blockquote>
85120

86-
* This metacommand does not require a comment ' or [REM](REM.md) before it. There is no space between the metacommand name, the colon and the [CONSOLE](CONSOLE.md) parameter.
87-
* If this metacommand is used in a program and any of the set [_ASSERT](ASSERT.md) checkpoints will fail, then the program will stop with an [_ASSERT](ASSERT.md) failed error.
88-
* Detailed error messages passed to the [_ASSERT](ASSERT.md) statement will be displayed in the [CONSOLE](CONSOLE.md) window, but only if $ASSERTS: [CONSOLE](CONSOLE.md) is used.
121+
122+
* This metacommand does not require a comment ' or [REM](REM.md) before it. There is no space between the metacommand name, the colon and the [CONSOLE](CONSOLE.md) parameter.
123+
* If this metacommand is used in a program and any of the set [_ASSERT](ASSERT.md) checkpoints will fail, then the program will stop with an [_ASSERT](ASSERT.md) failed error.
124+
* Detailed error messages passed to the [_ASSERT](ASSERT.md) statement will be displayed in the console window, but only if $ASSERTS:CONSOLE is used.
125+
126+
</blockquote>
127+
128+
#### EXAMPLES
129+
130+
<blockquote>
131+
132+
```vb
133+
$ASSERTS:CONSOLE
134+
135+
DO
136+
a = INT(RND * 10)
137+
b$ = myFunc$(a)
138+
PRINT a, , b$
139+
_LIMIT 3
140+
LOOP UNTIL _KEYHIT
141+
END
142+
143+
FUNCTION myFunc$ (value AS SINGLE)
144+
_ASSERT value > 0, "Value cannot be zero"
145+
_ASSERT value <= 10, "Value cannot exceed 10"
146+
147+
IF value > 1 THEN plural$ = "s"
148+
myFunc$ = STRING$(value, "*") + STR$(value) + " star" + plural$ + " :-)"
149+
END FUNCTION
150+
```
151+
152+
<br>
89153

90154

91155
</blockquote>
@@ -94,10 +158,10 @@ a:link, a:visited, a:hover, a:active {
94158

95159
<blockquote>
96160

97-
* Metacommand
98-
* [_ASSERT](ASSERT.md)
99-
* $CHECKING
100-
* Relational Operations
101-
* [ERROR](ERROR.md) Codes
102161

162+
* Metacommand
163+
* [_ASSERT](ASSERT.md)
164+
* [&dollar;CHECKING](&dollar;CHECKING.md)
165+
* Relational Operations
166+
* [ERROR](ERROR.md) Codes
103167
</blockquote>

help/$CHECKING.md

Lines changed: 52 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,18 @@ h4 {
2727
border: 0 !important;
2828
}
2929
h5 {
30-
margin: 0 0 1em 0 !important;
30+
margin: 0 0 0.5em 0 !important;
3131
color: #88f !important;
3232
border: 0 !important;
33+
font-style: italic !important;
34+
font-weight: normal !important;
3335
}
3436
code {
3537
background: #000 !important;
3638
margin: 0 !important;
3739
padding: 8px !important;
38-
border-radius: 8px !important;
39-
border: 1px solid #567 !important;
40+
border-radius: 4px !important;
41+
border: 1px solid #333 !important;
4042
}
4143
pre > code {
4244
background: transparent !important;
@@ -52,18 +54,51 @@ blockquote {
5254
padding: 0 1em !important;
5355
}
5456
pre {
55-
border-radius: 8px !important;
56-
border: 1px solid #567 !important;
57+
border-radius: 4px !important;
58+
background: #000 !important;
59+
border: 1px solid #333 !important;
5760
margin: 0 !important;
58-
box-shadow: 0px 5px 0px rgba(0, 0, 0, 0.25) !important;
5961
}
6062
a:link, a:visited, a:hover, a:active {
6163
color: #ff0 !important;
6264
}
63-
65+
br + pre {
66+
border-radius: 0 !important;
67+
border-style: inset !important;
68+
border-width: 5px !important;
69+
border-color: #999 !important;
70+
background-color: #000 !important;
71+
box-shadow: 0px 10px 3px rgba(0, 0, 0, 0.25) !important;
72+
margin-top: -1em !important;
73+
}
74+
br + pre::before {
75+
content: "OUTPUT \A" !important;
76+
color: #555 !important;
77+
border-bottom: 1px solid #333;
78+
font-size: x-small;
79+
display: block !important;
80+
padding: 0 3px !important;
81+
margin: -1em -1em 1em -1em !important;
82+
-webkit-user-select: none; /* Safari */
83+
-ms-user-select: none; /* IE 10 and IE 11 */
84+
user-select: none; /* Standard syntax */
85+
}
86+
br ~ h5 {
87+
margin-top: 2em !important;
88+
}
89+
.explanation {
90+
color: #995 !important;
91+
/* background-color: rgba(150, 150, 100) !important; */
92+
border-radius: 10em !important;
93+
border: 2px #441 dashed !important;
94+
padding: 8px 32px !important;
95+
margin-bottom: 4em !important;
96+
font-size: x-small !important;
97+
}
6498
</style>
6599

66-
## [\$CHECKING](\$CHECKING.md) [📖](https://qb64phoenix.com/qb64wiki/index.php/$CHECKING)
100+
101+
## [\$CHECKING](\$CHECKING.md) [📖](https://qb64phoenix.com/qb64wiki/index.php/%24CHECKING)
67102
---
68103
<blockquote>
69104

@@ -83,12 +118,12 @@ a:link, a:visited, a:hover, a:active {
83118

84119
<blockquote>
85120

86-
* The Metacommand does not require a comment or [REM](REM.md) before it. There is no space after the colon.
87-
* The [OFF](OFF.md) action turns event checking [OFF](OFF.md) and should only be used when running stable, errorless code.
88-
* The default $CHECKING : [ON](ON.md) action is only required when checking has been turned [OFF](OFF.md) previously.
89-
* When $CHECKING : [OFF](OFF.md) is used, all error code and the reporting code is removed from the EXE program.
90-
* Warning: Turning [OFF](OFF.md) error checking could create a General Protection Fault (or segfault). Use only with 100% stable sections of code.
91121

122+
* The Metacommand does not require a comment or [REM](REM.md) before it. There is no space after the colon.
123+
* The [OFF](OFF.md) action turns event checking off and should only be used when running stable, errorless code.
124+
* The default [&dollar;CHECKING](&dollar;CHECKING.md) :ON action is only required when checking has been turned [OFF](OFF.md) previously.
125+
* When [&dollar;CHECKING](&dollar;CHECKING.md) :OFF is used, all error code and the reporting code is removed from the EXE program.
126+
* Warning: Turning [OFF](OFF.md) error checking could create a General Protection Fault (or segfault). Use only with 100% stable sections of code.
92127

93128
</blockquote>
94129

@@ -103,9 +138,9 @@ a:link, a:visited, a:hover, a:active {
103138

104139
<blockquote>
105140

106-
* [ON](ON.md) [TIMER](TIMER.md) (n)
107-
* [ON](ON.md) [ERROR](ERROR.md)
108-
* Metacommand
109-
* [ERROR](ERROR.md) Codes
110141

142+
* [ON](ON.md) TIMER(n)
143+
* [ON](ON.md) [ERROR](ERROR.md)
144+
* Metacommand
145+
* [ERROR](ERROR.md) Codes
111146
</blockquote>

0 commit comments

Comments
 (0)