Changed a bit with glendasay
This commit is contained in:
parent
02aa3f707b
commit
58a1a288ce
1 changed files with 10 additions and 6 deletions
|
|
@ -1,28 +1,32 @@
|
|||
$inc fvmstd.fp
|
||||
|
||||
proc main
|
||||
" /----------------------\ " :puts :newline
|
||||
" /--------------------------------\ " :puts :newline
|
||||
0 @skip
|
||||
while &skip not do
|
||||
" | " :puts
|
||||
0 @i
|
||||
while &i 20 u< &skip not band do
|
||||
0 @tmpSkip
|
||||
while &i 30 u< &skip not &tmpSkip not band band do
|
||||
:getchar @c
|
||||
if &c 0x0A == &c 0x00 == &c 0xFF == bor bor then
|
||||
if &c 0x00 == &c 0xFF == bor then
|
||||
1 @skip
|
||||
endif
|
||||
if &skip not then
|
||||
if &c 0x0A == then
|
||||
1 @tmpSkip
|
||||
endif
|
||||
if &skip not &tmpSkip not band then
|
||||
&c :putchar
|
||||
&i 1 u+ @i
|
||||
endif
|
||||
endwhile
|
||||
while &i 20 u< do
|
||||
while &i 30 u< do
|
||||
0x20 :putchar
|
||||
&i 1 u+ @i
|
||||
endwhile
|
||||
" |" :puts :newline
|
||||
endwhile
|
||||
" \----------------------/ " :puts :newline
|
||||
" \--------------------------------/ " :puts :newline
|
||||
" " :puts :newline
|
||||
" \ " :puts :newline
|
||||
" \ " :puts :newline
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue