June 2018 Update

This commit is contained in:
Ingy döt Net 2018-06-22 20:57:24 +00:00
parent ba8067c3b7
commit 22f33d4004
5278 changed files with 84726 additions and 14379 deletions

View file

@ -0,0 +1,8 @@
/* created by Aykayayciti Earl Lamont Montgomery
April 9th, 2018 */
size = "little"
> @ "Mary had a $size lamb"
// line 1: use of the = operator
// line 2: use of the @ and $ operator

View file

@ -0,0 +1,5 @@
import strformat
var str: string = "little"
echo fmt"Mary had a {str} lamb"
echo &"Mary had a {str} lamb"

View file

@ -0,0 +1,4 @@
>>> extra = 'little'
>>> f'Mary had a {extra} lamb.'
'Mary had a little lamb.'
>>>

View file

@ -0,0 +1,2 @@
: printf("Mary had a %s lamb.\n", "little")
Mary had a little lamb.

View file

@ -0,0 +1,4 @@
Dim name as String = "J. Doe"
Dim balance as Double = 123.45
Dim prompt as String = String.Format("Hello {0}, your balance is {1}.", name, balance)
Console.WriteLine(prompt)