24 Feb
2001
24 Feb
'01
2:51 a.m.
Oldham, Adam wrote:
Also, if I have a String[15] and String[20] and I want to assign a variable with the value in string15, is there a way to get the compiler to not complain that the types are different?
What do you mean? Assigning between strings of different capacity works without any warning or error: program Foo; var Foo: String (15); Bar: String (20); begin Foo := Bar; Bar := Foo end. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html