Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,18 +1,18 @@
|
|||
TilemapCollision:
|
||||
DC.B $11,$11,$11,$11,$11,$11,$11,$11,$11,$11
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $11,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $11,$11,$11,$11,$11,$11,$11,$11,$11,$11
|
||||
DC.B $11,$11,$11,$11,$11,$11,$11,$11,$11,$11
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $11,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $11,$11,$11,$11,$11,$11,$11,$11,$11,$11
|
||||
TilemapCollisionEnd:
|
||||
|
||||
MOVE.W #(TilemapCollisionEnd-TilemapCollision)-1,D0
|
||||
|
|
|
|||
|
|
@ -3,23 +3,23 @@
|
|||
#include <vector>
|
||||
|
||||
int main() {
|
||||
// C++ uses double quotes for strings and single quotes for characters.
|
||||
std::string simple_string = "This is a simple string";
|
||||
char letter = 'A';
|
||||
std::cout << simple_string << " " << letter << std::endl;
|
||||
// C++ uses double quotes for strings and single quotes for characters.
|
||||
std::string simple_string = "This is a simple string";
|
||||
char letter = 'A';
|
||||
std::cout << simple_string << " " << letter << std::endl;
|
||||
|
||||
// C++ can implement multiline strings.
|
||||
std::string multiline_string = R"(
|
||||
An example of multi-line string.
|
||||
Text formatting is preserved.
|
||||
This is a raw string literal, introduced in C++ 11.)";
|
||||
std::cout << multiline_string << std::endl;
|
||||
// C++ can implement multiline strings.
|
||||
std::string multiline_string = R"(
|
||||
An example of multi-line string.
|
||||
Text formatting is preserved.
|
||||
This is a raw string literal, introduced in C++ 11.)";
|
||||
std::cout << multiline_string << std::endl;
|
||||
|
||||
// C++'s primitive data types: bool, char, double, float, int, long, short,
|
||||
// C++'s primitive data types: bool, char, double, float, int, long, short,
|
||||
// can be used to to store data, for example,
|
||||
const int block_length = 64;
|
||||
std::cout << "block length = " << block_length << std::endl;
|
||||
const int block_length = 64;
|
||||
std::cout << "block length = " << block_length << std::endl;
|
||||
|
||||
// Vectors of these data types are also possible, for example,
|
||||
std::vector<double> state = { 1.0, 2.0, 3.0 };
|
||||
// Vectors of these data types are also possible, for example,
|
||||
std::vector<double> state = { 1.0, 2.0, 3.0 };
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,31 +2,31 @@ import java.util.List;
|
|||
|
||||
public final class QuotingConstructs {
|
||||
|
||||
public static void main(String[] args) {
|
||||
// Java uses double quotes for strings and single quotes for characters.
|
||||
String simple = "This is a simple string";
|
||||
char letter = 'A';
|
||||
|
||||
// A Text Block is denoted by triple quotes.
|
||||
String multiLineString = """
|
||||
public static void main(String[] args) {
|
||||
// Java uses double quotes for strings and single quotes for characters.
|
||||
String simple = "This is a simple string";
|
||||
char letter = 'A';
|
||||
|
||||
// A Text Block is denoted by triple quotes.
|
||||
String multiLineString = """
|
||||
This is an example of multi-line string.
|
||||
Text formatting is preserved.
|
||||
Text blocks can be used for a multi-line string.
|
||||
""";
|
||||
System.out.println(multiLineString);
|
||||
|
||||
// Java's primitive data types: boolean, byte, char, double, float, int, long, short,
|
||||
// can be used to to store data, for example,
|
||||
final int blockLength = 64;
|
||||
|
||||
// Arrays or lists of these data types are possible, for example,
|
||||
double[] state = new double[] { 1.0, 2.0, 3.0 };
|
||||
|
||||
// Custom data types can be stored in a record or a class, for example,
|
||||
record Circle(int centreX, int centreY, double radius) {}
|
||||
|
||||
// A list of custom data types:
|
||||
List<Circle> circles = List.of( new Circle(1, 2, 1.25), new Circle(-2, 3, 2.50) );
|
||||
}
|
||||
System.out.println(multiLineString);
|
||||
|
||||
// Java's primitive data types: boolean, byte, char, double, float, int, long, short,
|
||||
// can be used to to store data, for example,
|
||||
final int blockLength = 64;
|
||||
|
||||
// Arrays or lists of these data types are possible, for example,
|
||||
double[] state = new double[] { 1.0, 2.0, 3.0 };
|
||||
|
||||
// Custom data types can be stored in a record or a class, for example,
|
||||
record Circle(int centreX, int centreY, double radius) {}
|
||||
|
||||
// A list of custom data types:
|
||||
List<Circle> circles = List.of( new Circle(1, 2, 1.25), new Circle(-2, 3, 2.50) );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -56,6 +56,15 @@ l= '-2 3 +5 7 -11 13 17 19 -23 29 -31 37 -41 43 47 -53 59 -61 67 -71 73 79 -83 8
|
|||
/*──────────────────────────────────────────────────────────────────────────────────────*/
|
||||
m= a b c d f g h i j k l /*this will create a list of all the */
|
||||
/*listed strings used (so far) into */
|
||||
/*the variable L (with an */
|
||||
/*the variable m (with an */
|
||||
/*intervening blank between each */
|
||||
/*variable's value. */
|
||||
vl='a b c d f g h i j k l'
|
||||
t=0
|
||||
Do While vl>''
|
||||
Parse Var vl v vl
|
||||
len=length(value(v))
|
||||
t+=len
|
||||
Say v len t
|
||||
End
|
||||
say 'm 'length(m)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue