Haiyang (disambiguation)
Haiyang may refer to:
Places in China
- Haiyang, a county-level city in Shandong
- Chao'an District, Chaozhou, Guangdong, formerly known as Haiyang
Towns
- Haiyang, Anhui (海阳), in Xiuning County, Anhui
- Haiyang, Hebei (海阳), in Qinhuangdao, Hebei
Townships
- Haiyang Township, Chongqing (海洋乡), in Xiushan Tujia and Miao Autonomous County, Chongqing
- Haiyang Township, Guangxi (海洋乡), in Lingchuan County, Guangxi
- Haiyang Township, Liaoning (海洋乡), in Changhai County, Liaoning
Other uses
- HY (satellite) or Haiyang, Chinese remote sensing satellites
gollark: Changes I made:- check reactor methods in the loop- make the only thing in the `if` statement be setting `txt`, so that it runs the rest of the code for *both*- pass `print` multiple parameters, since it can use that happily- inline calls to stuff- `term` calls directly instead of `shell.run "clear"`, which is mildly more efficient- indentation
gollark: Here is the fixed version.
gollark: ```lualocal r = peripheral.wrap("back")while true do term.clear() term.setCursorPos(1, 1) local txt if r.getActive() then txt = "Aktiv" else txt = "Inaktiv" end print("Der Reaktor ist", txt) print(r.getEnergyStored(), "RF gespeichert") sleep(1)end```
gollark: Also, please use local variables and do indentation.
gollark: What you need to do is check `r.getActive` and the other stuff *in the loop*, and ensure that both branches correctly yield and print everything.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.