Hallo,
also ich habe folgendes Problem:
Quelltext
1:
| [Fehler] Unit1.pas(63): E2035 Nicht genügend wirkliche Parameter |
hierbei:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45:
| ...
procedure decryption(letter: string; Sender: TObject); private public end;
...
procedure Tnmx_decryptor.decryption(letter: string; Sender: TObject); var input, output: string; x, length_input, position: integer; const original = ' ABCDEFGHIJKLMNOPQRSTUVWXYZ'+ 'abcdefghijklmnopqrstuvwxyzÄÖÜäöüß'; key_a = 'MKrLcDXSfghäUöHVWjIZlNYvÄdx' + 'an qsoPbAEBTFÖCyzükÜGmOßJweQRiptu'; begin input := input_memo.text; output := ''; length_input := length(input); letter := ''; begin if letter = 'a' then begin for x:= 1 to length_input do begin position := Pos(input[x],original); if position <> 0 then output := output + key_a[position] else output := output + input[x]; end; output_memo.text := output; end; end; end;
procedure Tnmx_decryptor.decrypt_buttonClick(Sender: TObject); begin decryption('a'); end;
end. |
Fragt aber jetz bitte nicht wozu der Quellcode da ist...

.
Bin am verzweifeln, ich weiß einfach net was ich falsch mache. Die Meldung sagt mir auch net besonders viel...
Grüße
DXC
Moderiert von
raziel: Topic aus VCL (Visual Component Library) verschoben am Mo 17.10.2005 um 10:54