canadarules
2006-06-06 22:52:10
The opposite of the Chr command is Ord.
Chr(54) = '6'.
Ord('6') = 54.
Lots of people don't know this. Feel smart now.
Chr(54) = '6'.
Ord('6') = 54.
Lots of people don't know this. Feel smart now.
2006-06-06 22:52:10
2006-06-06 22:58:44
2006-06-06 23:10:57
From: phantombmx
now whats ord stand for smarty pants ;)
2006-06-06 23:53:32
2006-06-06 23:59:00
2006-06-07 00:07:45
From: canadarules
It's a function that COULD be useful. =P
I just answered his question.
PS, when am I no longer a "Junior Member"?
2006-06-07 08:08:38
2006-06-07 12:05:59
2006-06-07 17:08:52
KeyDown(17);
DoStuff;
KeyUp(17);
KeyDown(162);//left ctrl
DoStuff;
KeyUp(162);
KeyDown(163);//right ctrl
DoStuff;
KeyUp(163);Chr/Ord does NOT apply to KeyDown/KeyUp. For other keys, you can either use the virtual key constants (Type VK_ into SCAR and hit space+ctrl for the full list), or search the forums for KDKUI (my KeyDown / KeyUp Include) for a FULL list of keys.2006-06-07 19:34:56
writeln(#50+#51);Writes the string "23" (ASCII 50 and 51).str1:= 'abcdef';
writeln(str1[3]);That will write the character "c".program New;
var
str1:String;
i:Integer;
begin
str1:= 'abcdefghijklmnopqrstuvwxyz';
for i:= 1 to length(str1) do
writeln('Character '''+str1[i]+''' at position '+inttostr(i)+'.');
end.2006-06-08 22:25:10
2007-03-17 03:41:48
2007-03-17 09:42:53
From: aniityberg
Hi!
My name is Anny. I 2 days on the Internet. Also it is very glad, that has got on your forum www.srl-forums.com.
This first my message at a forum in section this. Here so much the necessary information.
Thanks!
2007-03-17 09:45:01
2007-03-17 14:08:58