I don't think its possible without declaring them as types, but if you do find a way I'd like to know, so I'd appreciate it if you'd post your findings here.
l8r
declare both arrays as their own type, then pass the types to the procedure...
TMyarray1 =
array1 : array[1..13][1..3] of string;
TMyarray2 =
array2 : array[1..13][0..2] of string;
myproc(TMyarray1, TMyarray2);
A maskedit will prolly prevent the user from entering unwanted characters thus negating the need for a showmessage, I would definitely advice *against* showing the messagebox from a GUI point of view, its highly irritating to get messageboxes while typing, you're not gonna please your users with...
Or you can use the SameText function in Delphi 6 and higher:
---------------------------------------
Compares two strings by ordinal value without case sensitivity.
Unit
SysUtils
Category
string handling routines
function SameText(const S1, S2: string): Boolean;
Description
SameText...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.