visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
316 experts, 1194 registered users, 1659 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

New Improved Search!

 


05/10/2011 1h30 : Steve Jobs is dead, the father of Apple ][ is gone, we are all orphaned.

Languages :: Pascal :: conversion


By: VB guy Canada  Date: 04/06/2003 00:00:00  English  Points: 300 Status: Answered
Quality : Excellent
how can i load some charachters in a string and by pressing enter have them uppercased and stored in a file? and backwards
By: VGR Date: 04/06/2003 00:27:00 English  Type : Answer
Program totor;
Uses Crt;
Var thestring : String;
i : Byte; { Strings are limited to 255 characters, and 80 by default }
thefile : Text; { textFile in Delphi }
Begin
write('enter a string an dpress ENTER');
readln(thestring);
for i:=1 to Length(thestring) Do thestring=UpCase(thestring);
writeln('result string = ',thestring);
assign(thefile,'c:\result.txt');
rewrite(thefile);
writeln(thefile,thestring);
close(thefile); { CloseFile in Delphi }
writeln('finished. Look into c:\results.txt');
End.

Do register to be able to answer

EContact
browser fav
page generated in 291.430000 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page