mirror of
https://github.com/KarolS/millfork.git
synced 2024-11-06 06:06:31 +00:00
75e572f58c
– random module – ensure_mixedcase() function
26 lines
461 B
Plaintext
26 lines
461 B
Plaintext
// compile with
|
|
// java -jar millfork.jar -I ${PATH}/include -t ${platform} ${PATH}/examples/hello_world/hello_world.mfk
|
|
|
|
import stdio
|
|
|
|
array hello_world = "Hello world"
|
|
|
|
void main() {
|
|
ensure_mixedcase()
|
|
|
|
#if CBM_64 || CBM_264
|
|
set_bg_color(green)
|
|
#endif
|
|
#if CBM_64 || CBM_264 || ZX_SPECTRUM
|
|
set_border(red)
|
|
#endif
|
|
|
|
putstr(hello_world, hello_world.length)
|
|
new_line()
|
|
putstrz("Hello world again"z)
|
|
|
|
#if not(CPM)
|
|
while(true){}
|
|
#endif
|
|
|
|
} |