Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Printing all letters in one input word
#11
Its ok. :wink: :rotfl:
i]"But...it was so beautifully done"[/i]
Reply
#12
ehmm couldnt you just do this:
Code:
CLS
INPUT "Type in a word or phrase",a$
a$ = UCASE$(a$)
c
FOR i = 1 TO LEN(a$)
  Print MID$(a$ , i , 1)
NEXT

that is what he wants isnt it
his world has been connected...
Tied to the darkness.
Soon to be completely eclipsed.
There is so very much to learn...
You understand so little.
A meaningless effort.
One who knows nothing can understand nothing.
-Ansem Bringer of darkness and creator of the heartless
Reply
#13
Quote:ehmm couldnt you just do this:
Code:
CLS
INPUT "Type in a word or phrase",a$
a$ = UCASE$(a$)
c
FOR i = 1 TO LEN(a$)
  Print MID$(a$ , i , 1)
NEXT

that is what he wants isnt it

He has a checker in his to see if they're only letters, why I don't know, but that is why its so big.. :wink:
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply
#14
Quote:Umm he just wants to write a string vertically right?

why not:
Code:
DO
CLS
INPUT "Something: ", w$
IF MID$(w$, 1, 1) = "1" THEN EXIT DO
FOR i% = 1 TO LEN(w$)
l$ = UCASE$(MID$(w$, i%, 1) )
IF ASC(l$) >= 65 AND ASC(l$) < 90 THEN PRINT l$
NEXT i%
LOOP

I still don't understand a$(x)

I am quoting myself...I still don't understand that a$(x).

This is what he wants more simpler.
i]"But...it was so beautifully done"[/i]
Reply
#15
:o Yeah, that was unnessisary,. Smile Oh well, heh, yeah your code works just as well... and better really, less lines to prossess.
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply
#16
ty

So why did he put it in?
i]"But...it was so beautifully done"[/i]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)