Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
inp$={VG8gZXJyIGlzIGh1bWFuLCBidXQ
|
||||
gdG8gcmVhbGx5IGZvdWwgdGhpbmdzI
|
||||
HVwIHlvdSBuZWVkIGEgY29tcHV0ZXI
|
||||
uCiAgICAtLSBQYXVsIFIuIEVocmxpY2g=
|
||||
}
|
||||
tmp$=tempname$
|
||||
open tmp$ for wide output as #f
|
||||
print #f, string$(inp$ as decode64);
|
||||
close #f
|
||||
document a$
|
||||
load.doc a$, tmp$
|
||||
report a$
|
||||
clipboard a$
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
inp$={VG8gZXJyIGlzIGh1bWFuLCBidXQ
|
||||
gdG8gcmVhbGx5IGZvdWwgdGhpbmdzI
|
||||
HVwIHlvdSBuZWVkIGEgY29tcHV0ZXI
|
||||
uCiAgICAtLSBQYXVsIFIuIEVocmxpY2g=
|
||||
}
|
||||
// decode inp$ (is 8-bit ANSI coded using 0xA for paragraph end/new line)
|
||||
a$=string$(inp$ as Decode64)
|
||||
locale 1033
|
||||
// convert ansi to utf16le using Locale 1033
|
||||
a$=chr$(a$) // convert to utf16LE
|
||||
// expand LF to CRLF for M2000 console
|
||||
a$=replace$(chr$(0xA), chr$(0XD)+chr$(0XA), a$)
|
||||
// report handle cr and lf using proportional spacing for text and auto word wrapping
|
||||
report a$
|
||||
// also Print channel #-2 handle cr and lf (using non proportional spacing)
|
||||
print #-2, a$
|
||||
Loading…
Add table
Add a link
Reference in a new issue