OpenLLM-France/wikimedia huggingface dataset:
# Futurebasic/Language/Reference/read field
## Syntax

READ FIELD

## Description

This statement creates a new relocatable block in memory, reads data from the open file or serial port specified by deviceID into the new block, and returns a handle to the block into handleVar, which must be a long-integer variable or a HANDLE variable. The data in the file (or coming in through the serial port) must be in a particular format in order to be read properly. The first 4 bytes (at the current "file mark" position) must be a long integer which indicates the size of the block to create. This should be immediately followed by the data which is to go into the block. This is the format in which the WRITE FIELD statement writes to a file; almost always, the data you read with READ FIELD will have been created using a WRITE FIELD statement.
Note: Your program is responsible for disposing of the handle returned in handleVar when you're finished using the block. You can use a statement such as DEF DISPOSEH or KILL FIELD to do this.

## See Also

WRITE FIELD; READ FILE; OPEN; KILL FIELD; DEF DISPOSEH
# Grand Theft Auto: San Andreas/Missions/BMX

Tips for 3 difficult coronas:
1. Suspended in Middle of Cement Half-pipe: Before you pick up the BMX bike, go get a Packer truck(they are usually a few on the southern dock). When you get it, park it to the east of the lower pipe with the ramp end of the packer facing the pipes center. If you get to the top of the hill, you should be able to speed down it, and have time to hop through the circle. An alternative method is to come at the pipe at an angle, ride the bike up the side, and then bunny hop. This will push you out into the middle of the half-pipe and can grab you the corona without a car.
2. On Platform Attached to Half Pipe:When you go up the half-pipe, your front wheel will often make it over the edge, while the rest of your bike falls back down the half-pipe. To fix this, when you run up the ramp, do a 90 degree turn in midair so that both wheels are parallel to the edge of the pipe when you land. Then just be careful you don't fall back off as you make the turn to get to the corona.
3. Extra High Corona in the Stack of Two: Straight bunny hopping didn't seem to get to this, and almost certainly won't if you biking skill is too low. Instead, you can grab a car, park it underneath this corona. This way you can hop on the car and easily hop on up to the corona.
# Grand Theft Auto: San Andreas/Missions/Beefy Baron
## Prerequisites

* Mission: New Model Army
* Location: Zero's RC shop, Garcia, San Fierro

## Walkthrough

To start this mission, go to the back of Zero's shop and walk into the marker. Basically the same as Supply Lines, you fly around the city for three minutes killing as many Top Fun vans as possible.

## Rewards

None

## New Missions Available

None
# Grand Theft Auto: San Andreas/Missions/Back to School
## Prerequisites

* Mission: Deconstruction
* Location: Driving School, Doherty, San Fierro

## Walkthrough

This mission is just a container for Driving School. When you complete that, you will also complete this mission.

## Rewards

None

## New Missions Available

* Zeroing In (also requires: Yay Ka-Boom-Boom)
# Grand Theft Auto: San Andreas/Missions/Beat Down on B Dup
## Prerequisites

* Mission: Home Coming
* Location: Momma's House, Los Santos

## Walkthrough

For this, go with Sweet to B-Dup's apartment, and then to Glen Park. Provoke a gang war, win, and kill the Ballas around B-Dup's house. Watch the cutscene, and Mission Complete.

## Tips

I recommend starting the gang war from the tunnel walkway in the northern middle of the park where the police badge is. By using the sniper rifle you can kill the gang when they are far away, and the police won't notice you and cause trouble.

## New Missions Available

* Grove 4 Life
# Grand Theft Auto: San Andreas/Missions/Big Smoke
## Prerequisites

Location: CJ's house, Grove Street, Ganton, Los Santos

## Walkthrough

Unlike previous games in the Grand Theft Auto series, this first mission can actually be quite tricky, since it is quite possible to die, if you are not careful.
During the cutscene, you go with Big Smoke to the graveyard where you meet your sister, Kendl and your brother, Sweet. As you are leaving, you are attacked by the Ballas (a sworn enemy gang).
When you regain control, hop on the BMX marked with a blue arrow (you have to use this vehicle), and keep close to Sweet. The Ballas will try to shoot you as you are cycling, but should you have acquired a sufficient amount of firepower, you can destroy the enemy car. You cannot pull the Ballas out of the car by attempting to jack the vehicle.
Eventually you will stop in a clearing under the Mulholland Intersection, and Sweet will split from you to draw away the Ballas. Follow Ryder back to your house to complete the mission. Don't worry if you fall behind; he will wait for you until you catch up. You fail this mission if you get Wasted, or somehow trash your BMX (e.g. by cycling it into water).

## Rewards

* Respect: +3
* Your house now becomes a safehouse (i.e. you can save the game there).
* Camera (with 50 exposures) spawns in CJ's house.

## New Missions Available

* Ryder
# Grand Theft Auto: San Andreas/Missions/Bike School

Bike school is in Blackfield, Las Venturas near the Dirt Bike stadium. It is very similar to driving school in format but is probably a lot easier as the tasks are much more common when driving bikes round the game normally.
The tasks to perform are as follows

## The 360

Perform a 360 turn exactly as per the driving school task. To do this hold the accelerate and break button at the same time while turning. Ensure that you stop exactly after you do a 360° turn, i.e the original position you started.

## The 180

Again identical to the driving school task.

## The Wheelie

Accelerate and press the "down" key to perform the wheelie. Push down too far and the bike sparks against the ground and effort isn't counted, accelerate too slowly and the bike's front wheel will come down.

## The Stoppie

Accelerate hard, press the "up" key and apply a sharp amount of brakes. The bike should now rear up onto its front wheel and continuing gliding forward. Come to a stop in the cone box. Note that there is no point accelerating once the stoppie has started. Either you have enough to speed to get you past the cones or you don't. If you pass the cones though it might be worth accelerating a little bit if you need to get inside the cone box.

## Jump and Stop

Not too hard simply jump off the ramp and come to a tidy stop with skidding or going too far into the box of cones.

## Jump and Stoppie

This is a harder one and combines the two earlier tasks. Accelerate up the ramp and push the "up" button once you have left the ramp so the motorbike comes down at 45° angle. Too sharp and the bike will topple over, too shallow and the bike's rear wheel will come down: automatically failing the task. If done perfectly the bike should just glide into the cone box allowing to brake to a perfect stop.

## Rewards

* Bronze: Freeway
* Silver: PCJ-600/FCR-900
* Gold: NRG-500
Note that the spawn can be a bit random on the PC version of the game and sometimes you may find two or more bikes outside the bike school
# Grand Theft Auto: San Andreas/Missions/Black Project
## Prerequisites

* Mission: Stowaway
* Location: CJ's airstrip, Verdant Meadows, Bone County

## Walkthrough

You have to infiltrate Area 69 and steal the project from inside. Avoid the spotlights and guards - if possible, make your way to the control tower to open the blast doors. If spotted, you'll have to find an alternate entrance via the vent cover. Make your way through the interior of the base and steal the jetpack. Fly back to the CJ's airstrip to end the mission. You will be given an Uzi with something like 10,000 rounds of ammunition that you can use while flying. Save it for the next mission.

## Tips

* Be SURE to visit the control room to shut off the SAM (Surface to Air Missiles). It will greatly aid your escape.
* There is a Health Heart in the ventilation shaft.
* When you see an armor icon and a heart icon under the wire grid walkway, you could get to those by shooting at the thin wire grid beneath the stairs.
* Take your time with the second part of the mission - if you go in all guns blazing, you'll find yourself on the floor surrounded by half a dozen guys. Better to stay back and pick them off one at a time.
In the first room you enter with soldiers, be sure to turn right and fetch the armor and gatling gun, since that is the most effective weapon to use when you gain access to the long stairwell leading down to the jetpack.

## New Missions Available

* Green Goo
# Grand Theft Auto: San Andreas/Missions/Are you going to San Fierro?
## Prerequisites

* Mission: Farewell, my love...
* Location: Truth's farm, Leafy Hollow, Flint County

## Walkthrough

After the cutscene, you have five and a half minutes to burn all the evidence. Be careful not the step into the flames, unless you've already completed the Firefighter mission, so that you're fireproof. If you run out of ammo for the flame-thrower, there are extra near the Truth's van. After this, you are given an RPG, and have to shoot down a police helicopter. Now just drive to the garage in Doherty, San Fierro to complete the mission.

## Rewards

* Respect: +15
* Item: RPG
* Zip clothing stores now open.
* Most properties in San Fierro now available for purchase.
* Remote Explosives and Country Rifle available at Ammunation

## New Missions Available

* Story Missions
** Wear Flowers in your Hair
* Challenge Missions
** Ammunation Challenge
# Grand Theft Auto: San Andreas/Missions/Badlands
## Prerequisites

* Mission: The Green Sabre
* Location: Angel Pine trailer park, Whetstone

## Walkthrough

The first thing you'll probably want to do, is to restock on weapons. By now you should have access to the Desert Eagle, SMG, M4, Sniper Rifle, and the heat-seeking RPG. For this mission, you will at least need a weapon capable of being used in a drive-by.
Head off to the base of Mount Chiliad, and then to the snitch's house. Ascending the mountain can be somewhat awkward in most vehicles, so an offroad vehicle such as a Sanchez bike is recommended. You can find one at the end of the Chiliad Challenge route.
As you approach the house, a brief cutscene explains the situation. Take out the guards from a distance if possible, then approach the house. When you get nearby, the snitch will take off in a Washington car. Jump on the nearby Sanchez, and follow him. Use drive-by to damage the car, but be careful not to destroy it. If the snitch's corpse is unidentifiable, you fail the mission.
When his vehicle is sufficiently damaged, he will jump out of the vehicle. Finish him off, then take a photo of the corpse. Now just return to the trailer park to complete the mission.

## Tips

* If you approach the house before killing all the guards, the snitch may not make a run for it, and you can kill him easily without having to chase a car 'round a mountain. This can be easily done by staying deep in the woods to the left.
* The best way to kill the snitch without him running is to bring a sniper rifle and approach the house from the west from a distance. If you aim your sniper rifle you should see a part of his body and one shot can kill him.
* Another way is to stealth into the house. It's possible to shoot him point blank from behind him without him ever moving.

## Rewards

None

## New Missions Available

* First Date
# Grand Theft Auto: San Andreas/Missions/Big Smoke's Cash

Big Smoke's Cash is a side mission and does not need to be completed for 100% completion. It starts with a call from Cesar saying that the cash is leaving Los Santos. They are using a patriot jeep and start at Grove Street; the mission ends when they get to pier 69. When you catch up to the patriot you have to ram it six times to get all six boxes of cash to fall out. Drive over each box to pick up the cash. The reward is cash from the boxes. You must do this mission before you do the Yay Ka-Boom-Boom mission.
# HKDSE Geography/M1/Distribution of Tectonic Hazards

Tectonic hazards are not equally distributed over the earth's surface.

## Plate Boundary Types and Hazard Occurrence

Most hazards occur at plate boundaries, with some exceptions we will see in the next chapter.
| | Earthquakes | Volcanic Eruptions | Tsunamis |
| Constructive | Somewhat rare | Common | Somewhat rare |
| Destructive | Common | Common* | Common* |
| Conservative | Common | None | None |
*Mostly at the Circum-Pacific Belt.
Note that:
* Volcanic eruptions are common in constructive plate boundaries, but they have less destructive power because the overlying seawater and the seabed suppresses the outpouring of magma.
* Tsunamis are most active at destructive plate boundaries and are mostly concentrated along coastal areas around the Pacific Ocean; however, they have occurred in the Atlantic and the Indian Oceans as well. The Indian Ocean tsunami in 2004 is an important example.

## Two Belts

Two regions face serious tectonic hazards:
* Circum-Pacific Belt: It runs around the Pacific Ocean. Most of the earth's volcanoes and sources of earthquakes and tsunamis are found here. With reference to volcanoes, it is known as the Pacific Ring of Fire because of the ring-like spatial distribution of volcanoes here.
* Alpine-Himalayan Belt: It runs from the Alps to the Himalayas, and earthquakes are very active here.
# HKDSE Geography/M1/Effectiveness of Measures

Several factors affect the effectiveness of measures against hazards.
| Factor | Effective | Not effective |
| Government efficiency | Governments with high efficiency and little corruption can allocate disaster aid, emergency supplies and other resources effecticvely, and quickly rebuild the area. | Governments with a great degree of bureaucracy, rampant corruption and collusion often cannot distribute resources and rebuild effectively. |
| Economic development | Countries, especially more developed countries, have a great degree of economic development and thus have more capital to purchase more supplies and equipment for rescuing victims. | Countries with less developed economies are poorer with less capital. They can purchase fewer supplies and equipment. |
| Technological level | Countries with high technological level can establish sophisticated systems to monitor and predict hazards, issue warnings, improve building design, search for survivors, and so on. | Countries with low technology level cannot afford to establish advanced mechanisms for hazard prediction, improvement of building design or rescue. |
| Education level | Countries with high education level tend to have more professionals skilled in disaster prevention, and the general awareness of hazards is greater among their populations. | People with low level education level often have strong traditional values that deter them from adapting changes to prevent hazards, and their awareness of hazards is generally lower. |
| Political stability | Politically stable countries tend to have better organised governments which are more effective in conducting relief work. | Politically unstable countries are not efficient in rescuing citizens as political infigting hinders the execution of orders. |
| Population density | It is easier for a country with less dense population to carry out evacuation and create temporary shelters for citizens. | It is harder for densely populated countries to house victims of a disaster after it hits. |
# HKDSE Geography/M1/Faulting

[Note: For those who don't know, 'displacement' is a fancy geography term saying the blocks have 'moved'.]
The line along which the two rocks slide is the 'fault or fault line. We will look at faults, then at the landforms associated with faulting.

## Faults
### Structure

TODO: Diagram
* Fault/Faultline: The line along which the two rock blocks slide
* Fault plane: The plane between the two blocks
* Downthrow: The sinking block
* Upthrow:The rising block
* Footwall: The face of the sinking block touching the rising block
* Hanging wall: The exposed lateral face of the rising block
* Fault scarp: A 'step' on the ground caused by a fault

### Classification

* Normal fault: Formed by tensional force. One block slides down.
* Reverse fault: Formed by compressional force. One block slides up.
* Tear/transform fault: Formed by lateral/shear force. The rocks slide past each other. (There is no vertical displacement.)

## Associated Landforms
### Rift Valleys (Grabens)

Rift valleys are long, elongated and have uniform width. They are formed between two faults. They may be formed by normal or reverse faulting:
* When the two faults tilt towards each other, under compressional force, the two outer blocks will be displaced upwards as upthrow. The central block will be left as downthrow and form the rift valley.
* When the two faults tilt away from each other, under tensional force, the central block will sink as downthrow, forming the rift valley. The side blocks will be upthrow. If this process repeats, it may form parallel faults, and a set of parallel faults forms a step fault.

### Block Mountins (Horsts)

Like folding, faulting can also form mountains.
Block mountains are long, elongated and have uniform width. They are formed between two faults. They may be formed by normal or reverse faulting:
* When the two faults tilt away from each other, under compressional force, the central block will be pushed upwards as upthrow. The side blocks will be left as downthrow.
* When the two faults tilt towards each other, under tensional force, the two side blocks will sink as downthrow, leaving the outer blocks as upthrow, i.e. the block mountains.
* River Rhine
* The Franco-German portion of the River Rhine is formed in the middle of a series of parallel faults which form a step fault. On the one side is the Vosges of France; on the other, the Black Forest of Germany. Both are notable block mountains.
# HKDSE Geography/M1/Conservative Plate Boundaries

In a conservative plate boundary, no plate materials are constructed or destroyed. Transform faults are found here. Vulcanicity is rare as less magma rises along lines of weakness to the earth's surface. However, earthquakes are very common.

## San Andreas Fault (Pacific + N American)

It is located at California.
* The Pacific Plate slides past the North American Plate in a north-westward direction.
* Sheer stress builds up along the plate boundary.
* Eventually, stress caused the plates to fracture, producing a transform fault along the conservative plate boundary. The plates neither subduct nor spread at the transform zone.
As the plates slide past each other, friction creates large strains along the transform zone. When the stress caused by plate movements exceeds the friction, an earthquake occurs.

## Transform Fault between African and Arabian Plates

* The Arabian Plate slides past the African Plate in a northward direction.
* Sheer stress builds up along the plate boundary.
* Eventually, the stress caused the plates to fracture. producing a transform fault along the conservative plate boundary. The plates neither subduct nor spread at the transform zone.
* Several gulfs and inland seas were opened up: Sea of Galilee, Dead Sea, Gulf of Aquaba
Note: a gulf is a very large bay.
# HKDSE Geography/M1/Continental-Continental Destructive Plate Boundaries

When two continental crusts collide, neither crust is subducted as they are of roughly equal density. This collision is found along the Alpine-Himalayan Belt, where the Indo-Australian, Arabian and African plates collide with the Eurasian Plate.

## The World's Destructive Plate Boundaries

| Circum-Pacific Belt | Pacific | North American| | North American| |
| Circum-Pacific Belt | Pacific | The Philippines | Eurasian |
| Circum-Pacific Belt | Pacific | Indo-Australian | Eurasian |
| Eurasian ||
| Circum-Pacific Belt | Cocos | Caribbean | South American |
| Circum-Pacific Belt | | Nazca | South American | South American |
| Alpine-Himalayan Belt | African | Eurasian | Eurasian |
| Alpine-Himalayan Belt | Arabian | Eurasian | Eurasian |
| Alpine-Himalayan Belt | Indo-Australian | Eurasian | Eurasian |

## The Himalayas (Indo-Australian + Eurasian)

Note: This chapter involves a lot of processes. All of them must be memorised. For longer sentences, the important keywords will be underlined to facilitate memory.
* Converging/sinking magma currents between the Indo-Australian and Eurasian plates cause the two plates to converge with each other under compressional force, forming a destructive plate boundary
* Denser, thinner, basaltic oceanic crust from the Indo-Australian Plate is subducted under lighter, thicker continental crust from the Eurasian Plate
* Sediments are washed ashore on the Eurasian plate
* As the plates converge, water is squeezed out and the sediments are compacted to form sedimentary rock
* The continental crust of the Indo-Australian and Eurasian plates are equally light and neither can subduct under the other
* The sedimentary rocks are compressed to form a fold mountain range, the Himalayas.
* Hazards in the Himalayas
* Various HKCEE MC questions throughout the years have confirmed that the Himalayas sometimes experience earthquakes, but rarely experience volcanic eruptions.
# HKDSE Geography/M1

HKDSE Geography
* Objectives
* Living with our physical environment
** M1: Opportunities and Risks
** M2a: Rivers
** M2b: Coasts
* Facing changes in the human environment
** M3: Industry
** M4: Sustainable City
development mutually exclusive?
* Confronting global challenges
** M5: Famines and Agriculture
** M6: Tropical Rainforests
** M7: Global Warming
* Elective modules
** E1: Dynamic Earth
** E2: Climate
** E3: Transport
** E4: Zhujiang Delta
Focuses of the chapter:
* Plate tectonics
** Plates and plate boundaries
** Internal processes
** Landforms and plate boundaries
* Tectonic hazards
** Causes
** Effects
** Factors affecting them
** Measures against
** Effectiveness of measures
** Staying or leaving in hazard-prone regions

## Guiding Questions

* What has happened to areas with active tectonic activities?
* What areas have been frequently affected by earthquakes, volcanic eruptions and tsunamis?
* What spatial patterns exist in these natural hazards?
* Why are there such patterns? How is it related to the global distribution of plates and plate boundaries?
* What and where are major plates and plate boundaries?
* What are the related landform features found at plate boundaries? How re they formed?
* How does plate movement create natural hazards that develop with these features?
* Why are some earthquake and volcanic zones far away from plate boundaries?

## Plate Tectonics

The theory of plate tectonics was proposed by German meteorologist Alfred Wegener in 1912. The theory based on the idea of continental drifts describes the large-scale movements of the plates of the Earth's lithosphere.
The Earth can be structurally divided into three parts, namely crust, mantle and core. Use an egg as an analogue, the crust that is the outermost layer corresponds to the egg shell; the mantle in the middle corresponds to the egg white; and the core that is the innermost part corresponds to the egg yolk. However, this is an oversimplified picture, which can only be used to give you a rough idea.
The crust with thickness ranges from a few kilometres to tens of kilometres can be categorised into two groups, continental and oceanic crusts. As suggested by their names, the continental crusts contribute to the land of the Earth, whereas the oceanic crusts lie under the ocean. There are distinct differences between them, in terms of thickness, chemical composition, and so on.