FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
smallbasic.github.io/pages/reference_help.html at master · smallbasic/smallbasic.github.io · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
smallbasic
/
smallbasic.github.io
Public
Notifications
You must be signed in to change notification settings
Fork
4
Star
4
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
smallbasic.github.io
/
pages
/
reference_help.html
Copy path
More file actions
More file actions
Latest commit
History
History
History
77 lines (77 loc) · 3.29 KB
Breadcrumbs
smallbasic.github.io
/
pages
/
reference_help.html
Copy path
File metadata and controls
77 lines (77 loc) · 3.29 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html
>
<
html
lang
="
en
"
>
<
head
>
<
meta
charset
="
utf-8
"
>
<
meta
http-equiv
="
X-UA-Compatible
"
content
="
IE=edge
"
>
<
meta
name
="
viewport
"
content
="
width=device-width, initial-scale=1
"
>
<
title
>
SmallBASIC | reference_help
</
title
>
<
meta
name
="
description
"
content
="
SmallBASIC | One more basic
"
>
<
link
rel
="
canonical
"
href
="
/reference_help.html
"
>
<
link
rel
="
keywords
"
href
="
reference_help
"
>
<
link
rel
="
stylesheet
"
href
="
/css/style.css
"
>
<
link
rel
="
icon
"
type
="
image/png
"
href
="
/images/sb-desktop-32x32.png
"
>
<
script
src
="
/clipboard.js
"
>
</
script
>
</
head
>
<
body
>
<
button
onclick
="
topFunction()
"
id
="
BackToTopBtn
"
title
="
Go to top
"
>
⯅
</
button
>
<
script
src
="
/backtotop.js
"
>
</
script
>
<
div
class
="
wrapAll clearfix
"
>
<
nav
class
="
navigation
"
>
<
div
class
="
logo
"
>
<
a
href
="
/
"
>
<
img
src
='
/images/sb-logo.png?v=2
'
alt
="
logo
"
>
</
a
>
</
div
>
<
div
class
="
navlinks
"
>
<
a
href
="
/pages/download.html
"
>
Download
</
a
>
<
a
href
="
/pages/news.html
"
>
News
</
a
>
<
a
href
="
/pages/community.html
"
>
Community
</
a
>
<
a
class
='
active
'
href
="
/pages/articles.html
"
>
Resources
</
a
>
<
a
href
="
/pages/reference.html
"
>
Language Reference
</
a
>
<
a
href
="
/pages/guide.html
"
>
SmallBASIC Manual
</
a
>
</
div
>
</
nav
>
<
div
class
="
mainsection
"
>
<
div
class
="
tabs clearfix
"
>
<
div
class
="
tabsRight
"
>
<
a
target
="
_github
"
href
="
https://github.com/smallbasic/smallbasic.github.io/blob/master/_build/pages/reference_help.markdown
"
>
Edit
</
a
>
<
a
target
="
_github
"
href
="
https://github.com/smallbasic/smallbasic.github.io/commits/master/_build/pages/reference_help.markdown
"
>
History
</
a
>
</
div
>
</
div
>
<
div
class
="
article
"
>
<
h1
id
="
language-reference-syntax
"
>
Language Reference Syntax
</
h1
>
<
ul
>
<
li
>
Everything written inside of [] characters are optional values.
</
li
>
<
li
>
Everything written inside of { characters means you must select one
of them.
</
li
>
<
li
>
The symbol | means OR.
</
li
>
<
li
>
The symbols … mean you can repeat the previous syntax.
</
li
>
<
li
>
Keywords are written with capital letters.
</
li
>
<
li
>
Parameters are written with lower letters.
</
li
>
<
li
>
Keywords with suffix () are functions.
</
li
>
<
li
>
Parameters with suffix () are arrays.
</
li
>
</
ul
>
<
pre
>
<
code
>
FOO <- This is keyword
FOO() <- This is function
foo <- This is variable/parameter
foo() <- This is array/parameter
{A|B} <- This means that you must type A or B
[{A|B}] <- This means that you must use A or B or nothing
</
code
>
</
pre
>
<
p
>
The following example means that you must give the first parameter
(a) but you can use the second (x) only if you want to. But if you want
to use the (x) you must also separate it from (a) with a comma.
</
p
>
<
pre
>
<
code
>
FOO a[, x]
</
code
>
</
pre
>
<
p
>
The next example means that you must use the first parameter. You can
also use second parameter but you must separate it with ‘,’ or ‘;’. You
can also repeat the last syntax more times.
</
p
>
<
pre
>
<
code
>
FOO var [{,|;} var2 [...]]
</
code
>
</
pre
>
</
div
>
<
div
class
="
pagefooter
"
>
This page was last edited on Thu, 20 Feb 2025 21:34:29 +0100
|
<
a
href
="
https://en.wikipedia.org/wiki/Markdown
"
target
="
_blank
"
rel
="
nofollow
"
>
Markdown
</
a
>
processed with
<
a
href
="
https://pandoc.org/MANUAL.html#pandocs-markdown
"
target
="
_blank
"
rel
="
nofollow
"
>
pandoc 3.1.12.1
</
a
>
</
div
>
</
div
>
</
div
>
</
body
>
</
html
>
Back
|
FazBrowse Home
|
New Git URL