diff options
author | Alain Romedenne <LibreOfficiant@sfr.fr> | 2020-08-03 15:00:01 +0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2020-08-04 19:37:54 +0200 |
commit | 7bb1ec81e997e270be39f5639073f5190dd3655e (patch) | |
tree | 00997c3b0d0cefccfe74e66077ba7438849a171c /source/media | |
parent | 8b7b468cfcb1591972ee2e47a295ee4cf86a46e8 (diff) |
tdf131416 Basic syntax diagrams
- Input, Line Input, Print, Put, Reset, Seek and Write statements
Added comma|semicolon delimiter information
Change-Id: I1ef994f1fe68db3d1b8f5d1a85d3764078ab33f3
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/99925
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source/media')
-rw-r--r-- | source/media/helpimg/sbasic/Input_statement.svg | 42 | ||||
-rw-r--r-- | source/media/helpimg/sbasic/Line-Input_statement.svg | 35 | ||||
-rw-r--r-- | source/media/helpimg/sbasic/Reset_statement.svg | 32 | ||||
-rw-r--r-- | source/media/helpimg/sbasic/Seek_statement.svg | 38 | ||||
-rw-r--r-- | source/media/helpimg/sbasic/Write_statement.svg | 42 |
5 files changed, 189 insertions, 0 deletions
diff --git a/source/media/helpimg/sbasic/Input_statement.svg b/source/media/helpimg/sbasic/Input_statement.svg new file mode 100644 index 0000000000..1c4b270358 --- /dev/null +++ b/source/media/helpimg/sbasic/Input_statement.svg @@ -0,0 +1,42 @@ +<svg class="railroad-diagram" height="124" viewBox="0 0 534.5 124" width="534.5" xmlns="http://www.w3.org/2000/svg"> +<g transform="translate(.5 .5)"> +<style>/* <![CDATA[ */ + svg.railroad-diagram { + background-color:transparent; + } + svg.railroad-diagram path { + stroke-width:1; + stroke:black; + fill:rgba(0,0,0,0); + } + svg.railroad-diagram text { + font:bold 14px monospace; + font-family: Verdana, sans-serif; + text-anchor:middle; + } + svg.railroad-diagram text.label{ + text-anchor:start; + } + svg.railroad-diagram text.comment{ + font:italic 12px monospace; + } + svg.railroad-diagram rect{ + stroke-width:1; + stroke:black; + fill:transparent; + } + +/* ]]> */ +</style><g> +<path d="M20 41v20m10 -20v20m-10 -10h20"></path></g><path d="M40 51h10"></path><g class="terminal"> +<path d="M50 51h0.0"></path><path d="M112.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="62.5" x="50.0" y="40"></rect><text x="81.25" y="55">Input</text></g><path d="M112.5 51h10"></path><g> +<path d="M122.5 51h0.0"></path><path d="M211.0 51h0.0"></path><path d="M122.5 51a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path><g> +<path d="M152.5 20h28.5"></path></g><path d="M181.0 20a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><path d="M122.5 51h30"></path><g class="terminal"> +<path d="M152.5 51h0.0"></path><path d="M181.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="152.5" y="40"></rect><text x="166.75" y="55">#</text></g><path d="M181.0 51h30"></path></g><path d="M211.0 51h10"></path><g class="terminal"> +<path d="M221.0 51h0.0"></path><path d="M300.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="79.5" x="221.0" y="40"></rect><text x="260.75" y="55">fileNum</text></g><path d="M300.5 51h10"></path><g> +<path d="M310.5 51h0.0"></path><path d="M399.0 51h0.0"></path><path d="M310.5 51h30"></path><g class="terminal"> +<path d="M340.5 51h0.0"></path><path d="M369.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="340.5" y="40"></rect><text x="354.75" y="55">,</text></g><path d="M369.0 51h30"></path><path d="M310.5 51a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal"> +<path d="M340.5 93h0.0"></path><path d="M369.0 93h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="340.5" y="82"></rect><text x="354.75" y="97">;</text></g><path d="M369.0 93a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path></g><path d="M399.0 51h10"></path><g> +<path d="M409.0 51h0.0"></path><path d="M484.5 51h0.0"></path><path d="M409.0 51h15"></path><g class="terminal"> +<path d="M424.0 51h0.0"></path><path d="M469.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="45.5" x="424.0" y="40"></rect><text x="446.75" y="55">var</text></g><path d="M469.5 51h15"></path><path d="M424.0 51a15 15 0 0 0 -15 15v12a15 15 0 0 0 15 15"></path><g class="terminal"> +<path d="M424.0 93h8.5"></path><path d="M461.0 93h8.5"></path><rect height="22" rx="10" ry="10" width="28.5" x="432.5" y="82"></rect><text x="446.75" y="97">,</text></g><path d="M469.5 93a15 15 0 0 0 15 -15v-12a15 15 0 0 0 -15 -15"></path></g><path d="M484.5 51h10"></path><path d="M 494.5 51 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
\ No newline at end of file diff --git a/source/media/helpimg/sbasic/Line-Input_statement.svg b/source/media/helpimg/sbasic/Line-Input_statement.svg new file mode 100644 index 0000000000..8d6479967f --- /dev/null +++ b/source/media/helpimg/sbasic/Line-Input_statement.svg @@ -0,0 +1,35 @@ +<svg class="railroad-diagram" height="62" viewBox="0 0 469.5 62" width="469.5" xmlns="http://www.w3.org/2000/svg"> +<g transform="translate(.5 .5)"> +<style>/* <![CDATA[ */ + svg.railroad-diagram { + background-color:transparent; + } + svg.railroad-diagram path { + stroke-width:1; + stroke:black; + fill:rgba(0,0,0,0); + } + svg.railroad-diagram text { + font:bold 14px monospace; + font-family: Verdana, sans-serif; + text-anchor:middle; + } + svg.railroad-diagram text.label{ + text-anchor:start; + } + svg.railroad-diagram text.comment{ + font:italic 12px monospace; + } + svg.railroad-diagram rect{ + stroke-width:1; + stroke:black; + fill:transparent; + } + +/* ]]> */ +</style><g> +<path d="M20 21v20m10 -20v20m-10 -10h20"></path></g><path d="M40 31h10"></path><g class="terminal"> +<path d="M50 31h0.0"></path><path d="M155.0 31h0.0"></path><rect height="22" rx="10" ry="10" width="105.0" x="50.0" y="20"></rect><text x="102.5" y="35">Line Input</text></g><path d="M155.0 31h10"></path><path d="M165.0 31h10"></path><g class="terminal"> +<path d="M175.0 31h0.0"></path><path d="M263.0 31h0.0"></path><rect height="22" rx="10" ry="10" width="88.0" x="175.0" y="20"></rect><text x="219.0" y="35">#fileNum</text></g><path d="M263.0 31h10"></path><path d="M273.0 31h10"></path><g class="terminal"> +<path d="M283.0 31h0.0"></path><path d="M311.5 31h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="283.0" y="20"></rect><text x="297.25" y="35">,</text></g><path d="M311.5 31h10"></path><path d="M321.5 31h10"></path><g class="terminal"> +<path d="M331.5 31h0.0"></path><path d="M419.5 31h0.0"></path><rect height="22" rx="10" ry="10" width="88.0" x="331.5" y="20"></rect><text x="375.5" y="35">variable</text></g><path d="M419.5 31h10"></path><path d="M 429.5 31 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
\ No newline at end of file diff --git a/source/media/helpimg/sbasic/Reset_statement.svg b/source/media/helpimg/sbasic/Reset_statement.svg new file mode 100644 index 0000000000..fbdb2eafff --- /dev/null +++ b/source/media/helpimg/sbasic/Reset_statement.svg @@ -0,0 +1,32 @@ +<svg class="railroad-diagram" height="62" viewBox="0 0 162.5 62" width="162.5" xmlns="http://www.w3.org/2000/svg"> +<g transform="translate(.5 .5)"> +<style>/* <![CDATA[ */ + svg.railroad-diagram { + background-color:transparent; + } + svg.railroad-diagram path { + stroke-width:1; + stroke:black; + fill:rgba(0,0,0,0); + } + svg.railroad-diagram text { + font:bold 14px monospace; + font-family: Verdana, sans-serif; + text-anchor:middle; + } + svg.railroad-diagram text.label{ + text-anchor:start; + } + svg.railroad-diagram text.comment{ + font:italic 12px monospace; + } + svg.railroad-diagram rect{ + stroke-width:1; + stroke:black; + fill:transparent; + } + +/* ]]> */ +</style><g> +<path d="M20 21v20m10 -20v20m-10 -10h20"></path></g><path d="M40 31h10"></path><g class="terminal"> +<path d="M50 31h0.0"></path><path d="M112.5 31h0.0"></path><rect height="22" rx="10" ry="10" width="62.5" x="50.0" y="20"></rect><text x="81.25" y="35">Reset</text></g><path d="M112.5 31h10"></path><path d="M 122.5 31 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
\ No newline at end of file diff --git a/source/media/helpimg/sbasic/Seek_statement.svg b/source/media/helpimg/sbasic/Seek_statement.svg new file mode 100644 index 0000000000..fc47ad5beb --- /dev/null +++ b/source/media/helpimg/sbasic/Seek_statement.svg @@ -0,0 +1,38 @@ +<svg class="railroad-diagram" height="124" viewBox="0 0 399.0 124" width="399.0" xmlns="http://www.w3.org/2000/svg"> +<g transform="translate(.5 .5)"> +<style>/* <![CDATA[ */ + svg.railroad-diagram { + background-color:transparent; + } + svg.railroad-diagram path { + stroke-width:1; + stroke:black; + fill:rgba(0,0,0,0); + } + svg.railroad-diagram text { + font:bold 14px monospace; + font-family: Verdana, sans-serif; + text-anchor:middle; + } + svg.railroad-diagram text.label{ + text-anchor:start; + } + svg.railroad-diagram text.comment{ + font:italic 12px monospace; + } + svg.railroad-diagram rect{ + stroke-width:1; + stroke:black; + fill:transparent; + } + +/* ]]> */ +</style><g> +<path d="M20 41v20m10 -20v20m-10 -10h20"></path></g><path d="M40 51h10"></path><g class="terminal"> +<path d="M50 51h0.0"></path><path d="M104.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="50.0" y="40"></rect><text x="77.0" y="55">Seek</text></g><path d="M104.0 51h10"></path><g> +<path d="M114.0 51h0.0"></path><path d="M202.5 51h0.0"></path><path d="M114.0 51a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path><g> +<path d="M144.0 20h28.5"></path></g><path d="M172.5 20a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><path d="M114.0 51h30"></path><g class="terminal"> +<path d="M144.0 51h0.0"></path><path d="M172.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="144.0" y="40"></rect><text x="158.25" y="55">#</text></g><path d="M172.5 51h30"></path></g><g> +<path d="M202.5 51h0.0"></path><path d="M359.0 51h0.0"></path><path d="M202.5 51h30"></path><g class="terminal"> +<path d="M232.5 51h8.5"></path><path d="M320.5 51h8.5"></path><rect height="22" rx="10" ry="10" width="79.5" x="241.0" y="40"></rect><text x="280.75" y="55">filePos</text></g><path d="M329.0 51h30"></path><path d="M202.5 51a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal"> +<path d="M232.5 93h0.0"></path><path d="M329.0 93h0.0"></path><rect height="22" rx="10" ry="10" width="96.5" x="232.5" y="82"></rect><text x="280.75" y="97">recordNum</text></g><path d="M329.0 93a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path></g><path d="M 359.0 51 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
\ No newline at end of file diff --git a/source/media/helpimg/sbasic/Write_statement.svg b/source/media/helpimg/sbasic/Write_statement.svg new file mode 100644 index 0000000000..cf035a57c0 --- /dev/null +++ b/source/media/helpimg/sbasic/Write_statement.svg @@ -0,0 +1,42 @@ +<svg class="railroad-diagram" height="124" viewBox="0 0 594.0 124" width="594.0" xmlns="http://www.w3.org/2000/svg"> +<g transform="translate(.5 .5)"> +<style>/* <![CDATA[ */ + svg.railroad-diagram { + background-color:transparent; + } + svg.railroad-diagram path { + stroke-width:1; + stroke:black; + fill:rgba(0,0,0,0); + } + svg.railroad-diagram text { + font:bold 14px monospace; + font-family: Verdana, sans-serif; + text-anchor:middle; + } + svg.railroad-diagram text.label{ + text-anchor:start; + } + svg.railroad-diagram text.comment{ + font:italic 12px monospace; + } + svg.railroad-diagram rect{ + stroke-width:1; + stroke:black; + fill:transparent; + } + +/* ]]> */ +</style><g> +<path d="M20 41v20m10 -20v20m-10 -10h20"></path></g><path d="M40 51h10"></path><g class="terminal"> +<path d="M50 51h0.0"></path><path d="M112.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="62.5" x="50.0" y="40"></rect><text x="81.25" y="55">Write</text></g><path d="M112.5 51h10"></path><g> +<path d="M122.5 51h0.0"></path><path d="M211.0 51h0.0"></path><path d="M122.5 51a15 15 0 0 0 15 -15v-1a15 15 0 0 1 15 -15"></path><g> +<path d="M152.5 20h28.5"></path></g><path d="M181.0 20a15 15 0 0 1 15 15v1a15 15 0 0 0 15 15"></path><path d="M122.5 51h30"></path><g class="terminal"> +<path d="M152.5 51h0.0"></path><path d="M181.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="152.5" y="40"></rect><text x="166.75" y="55">#</text></g><path d="M181.0 51h30"></path></g><path d="M211.0 51h10"></path><g class="terminal"> +<path d="M221.0 51h0.0"></path><path d="M300.5 51h0.0"></path><rect height="22" rx="10" ry="10" width="79.5" x="221.0" y="40"></rect><text x="260.75" y="55">fileNum</text></g><path d="M300.5 51h10"></path><g> +<path d="M310.5 51h0.0"></path><path d="M399.0 51h0.0"></path><path d="M310.5 51h30"></path><g class="terminal"> +<path d="M340.5 51h0.0"></path><path d="M369.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="340.5" y="40"></rect><text x="354.75" y="55">,</text></g><path d="M369.0 51h30"></path><path d="M310.5 51a15 15 0 0 1 15 15v12a15 15 0 0 0 15 15"></path><g class="terminal"> +<path d="M340.5 93h0.0"></path><path d="M369.0 93h0.0"></path><rect height="22" rx="10" ry="10" width="28.5" x="340.5" y="82"></rect><text x="354.75" y="97">;</text></g><path d="M369.0 93a15 15 0 0 0 15 -15v-12a15 15 0 0 1 15 -15"></path></g><path d="M399.0 51h10"></path><g> +<path d="M409.0 51h0.0"></path><path d="M544.0 51h0.0"></path><path d="M409.0 51h15"></path><g class="terminal"> +<path d="M424.0 51h0.0"></path><path d="M529.0 51h0.0"></path><rect height="22" rx="10" ry="10" width="105.0" x="424.0" y="40"></rect><text x="476.5" y="55">expression</text></g><path d="M529.0 51h15"></path><path d="M424.0 51a15 15 0 0 0 -15 15v12a15 15 0 0 0 15 15"></path><g class="terminal"> +<path d="M424.0 93h38.25"></path><path d="M490.75 93h38.25"></path><rect height="22" rx="10" ry="10" width="28.5" x="462.25" y="82"></rect><text x="476.5" y="97">,</text></g><path d="M529.0 93a15 15 0 0 0 15 -15v-12a15 15 0 0 0 -15 -15"></path></g><path d="M544.0 51h10"></path><path d="M 554.0 51 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg>
\ No newline at end of file |