mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 07:26:24 +02:00
* char - integer explicit conversions
This commit is contained in:
parent
529f924a9b
commit
50b6aa8440
8
tests/tbs/tbs0350.pp
Normal file
8
tests/tbs/tbs0350.pp
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
var
|
||||||
|
c : char;
|
||||||
|
i : integer;
|
||||||
|
begin
|
||||||
|
i:=integer(c);
|
||||||
|
c:=char(i);
|
||||||
|
end.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user