mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 17:25:39 +01:00
Fix #826. Add samples for new languages
This commit is contained in:
parent
49ca1a835b
commit
14e82b33a4
7 changed files with 69 additions and 0 deletions
10
website/index/samples/sample.sb.txt
Normal file
10
website/index/samples/sample.sb.txt
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
begin:
|
||||
TextWindow.Write("Enter a number: ")
|
||||
num = TextWindow.ReadNumber()
|
||||
remainder = Math.Remainder(num, 2)
|
||||
If (remainder = 0) Then
|
||||
TextWindow.WriteLine("The number is Even")
|
||||
Else
|
||||
TextWindow.WriteLine("The number is Odd")
|
||||
EndIf
|
||||
Goto begin
|
||||
Loading…
Add table
Add a link
Reference in a new issue