Author |
Message |
maybe
|
Posted: Tue Jan 20, 2004 5:17 pm Post subject: HELP!!!!!! |
|
|
can someone make a person's name or their input show up on the output screen like this
---- R
--- Ry
-- Rya
-Ryan
but with the input of n e name |
|
|
|
|
|
Sponsor Sponsor
|
|
|
shorthair
|
Posted: Tue Jan 20, 2004 5:39 pm Post subject: (No subject) |
|
|
MAbye if you cange your topic name il tell you how to do it |
|
|
|
|
|
Andy
|
Posted: Tue Jan 20, 2004 6:59 pm Post subject: (No subject) |
|
|
change ur name but since i'm in a good mood
code: |
var input : string
get input
for i : 1 .. length (input)
put repeat ("-", length (input) - i + 1), input (1 .. i)
end for
|
|
|
|
|
|
|
maybe
|
Posted: Tue Jan 20, 2004 8:42 pm Post subject: (No subject) |
|
|
thankx, but i need one more thing, wat code do i put to center the output??? for any length name |
|
|
|
|
|
AsianSensation
|
Posted: Tue Jan 20, 2004 8:48 pm Post subject: (No subject) |
|
|
code: | var word := "AsianSensation"
locate ((maxcrow - 1) div 2, (maxcol - length (word)) div 2)
put word |
that's as close as you can get with the put function. |
|
|
|
|
|
|