Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 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