VARIABLESSSS
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
depend "string.pla"
|
||||
depend "io.h"
|
||||
|
||||
myInt: Int = 123
|
||||
myDecimal: Float = 0.456
|
||||
myBoolean: Bool = true
|
||||
myString: String = "Hello!\n"
|
||||
myList: List = [1, "hi", true, [1, 2, 3], 0.789]
|
||||
myInt: Int = 123;
|
||||
myDecimal: Float = 0.456;
|
||||
myBoolean: Bool = true;
|
||||
myString: String = "Hello!\n";
|
||||
myList: List = [1, "hi", true, [1, 2, 3], 0.789];
|
||||
|
||||
MY_CONSTANT: Const(String) = "foo bar"
|
||||
MY_CONSTANT: Const(String) = "foo bar";
|
||||
|
||||
print(String(myInt))
|
||||
print(String(myDecimal))
|
||||
print(String(myBoolean))
|
||||
print(myString)
|
||||
print(String(myList))
|
||||
print(String(myInt));
|
||||
print(String(myDecimal));
|
||||
print(String(myBoolean));
|
||||
print(myString);
|
||||
print(String(myList));
|
||||
Reference in New Issue
Block a user