• paramstr()

    From dream master@21:1/163 to All on Friday, December 08, 2017 17:32:34
    so i am writing something but getting an error message. i hav
    e this set.var pc : string[1]; pc2 : string;
    then in the programif paramcount < 1 then begin
    writeln('invalid commandline. notify sysop');writeln(
    '');writeln('example dm-auto 1|DE|DE|DE');
    halt; endpc := paramstr(1); if pc =
    '1' thenpc2 := 'write_msg1' else if pc = '2' then
    pc2 := 'write_msg2' else if pc = '3' thenpc2 := 'write_msg3
    ' else if pc = '4' thenpc2 := 'write_msg4';
    now when i call pc2 it says Message: Expected: :=
    but i have that set as above. any ideas? .ú
    ùDream Masterùú.
    øùúùøøùúùø DoRE!
    ACiDiC!Demonic[dreamland.d
    arktech.org]
    --- Mystic BBS v1.12 A36 2017/12/03 (Windows/64)
    * Origin: |08--[|15!|07dreamland BBS dreamland.darktech.org (21:1/163)