September 2017 Update

This commit is contained in:
Ingy döt Net 2017-09-23 10:01:46 +02:00
parent bba7bfd280
commit ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions

View file

@ -1,4 +0,0 @@
stringvar1$ = "Hello,"
stringvar2$ = stringvar1$ + " world!"
PRINT "Variable 1 is """ stringvar1$ """"
PRINT "Variable 2 is """ stringvar2$ """"

View file

@ -1,11 +1,9 @@
#import system.
#import extensions.
#symbol program =
program =
[
#var s := "Hello".
#var s2 := s + " literal".
var s := "Hello".
var s2 := s + " literal".
console writeLine:s.
console writeLine:s2.
console readChar.
].

View file

@ -1,4 +1,10 @@
Public sub main()
DIM bestclub AS String
DIM myconcat AS String
bestclub = "Liverpool"
myconcat = bestclub & " Football Club"
Print myconcat
End

View file

@ -0,0 +1 @@
echo "Hello" . "World " . 123;

View file

@ -1,6 +0,0 @@
var str, str1 = "String"
echo(str & " literal.")
str1 = str1 & " literal."
echo(str1)
# -> String literal.

View file

@ -1,4 +0,0 @@
var str1 = "String"
echo(join([str1, " literal.", "HelloWorld!"], "~~"))
# -> String~~ literal.~~HelloWorld!

View file

@ -1,4 +0,0 @@
var str1 = "String"
echo "$# $# $#" % [str1, "literal.", "HelloWorld!"]
# -> String literal. HelloWorld!

View file

@ -1,3 +0,0 @@
10 LET s$="Hello"
20 LET s$=s$+" World!"
30 PRINT s$

View file

@ -0,0 +1,3 @@
var s="Hello";
s2:=s+", world!"; s2.println(); //-->Hello, world!
s3:=String(s," ",s2); s3.println(); //-->Hello Hello, world!