0 Members and 1 Guest are viewing this topic.
const playervarnames: array[1..2] of string = ('pass', 'stuff');
const v1 = 'yyy'; v2 = 'zzz';var xxx: array[1..2] of string;procedure ActivateServer();begin xxx[1]:= v1; xxx[2]:= v2;end;
var MyVar: integer = 1234;
Valid pascal <> Soldat pascal You can do this:Code: [Select]const v1 = 'yyy'; v2 = 'zzz';var xxx: array[1..2] of string;procedure ActivateServer();begin xxx[1]:= v1; xxx[2]:= v2;end;I know it sucks bottle but I don't know other way.
but you cant initialize normal vars, do you ? Code: [Select]var MyVar: integer = 1234;