Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
4
Task/Copy-a-string/Component-Pascal/copy-a-string-1.pas
Normal file
4
Task/Copy-a-string/Component-Pascal/copy-a-string-1.pas
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
VAR
|
||||
str1: ARRAY 128 OF CHAR;
|
||||
str2: ARRAY 32 OF CHAR;
|
||||
str3: ARRAY 25 OF CHAR;
|
||||
4
Task/Copy-a-string/Component-Pascal/copy-a-string-2.pas
Normal file
4
Task/Copy-a-string/Component-Pascal/copy-a-string-2.pas
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
str1 := "abcdefghijklmnopqrstuvwxyz";
|
||||
str3 := str1; (* don't compile, incompatible assignement *)
|
||||
str3 := str1$; (* runtime error, string too long *)
|
||||
str2 := str1$; (* OK *)
|
||||
Loading…
Add table
Add a link
Reference in a new issue