Computer Science Canada

HELP!!!!!!

Author:  maybe [ 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

Author:  shorthair [ Tue Jan 20, 2004 5:39 pm ]
Post subject: 

MAbye if you cange your topic name il tell you how to do it Twisted Evil

Author:  Andy [ Tue Jan 20, 2004 6:59 pm ]
Post 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

Author:  maybe [ Tue Jan 20, 2004 8:42 pm ]
Post subject: 

thankx, but i need one more thing, wat code do i put to center the output??? for any length name

Author:  AsianSensation [ Tue Jan 20, 2004 8:48 pm ]
Post 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.


: