Changeset 48 for branches/DelphiToC/UPascalCompiler.pas
- Timestamp:
- Aug 9, 2010, 1:53:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DelphiToC/UPascalCompiler.pas
r46 r48 85 85 UsedType := nil; 86 86 end; 87 with TFunction( Methods[Methods.Add(TFunction.Create)]) do begin87 with TFunction(Functions[Functions.Add(TFunction.Create)]) do begin 88 88 Name := 'Exit'; 89 89 ResultType := TType(TModule(Modules[0]).Types[0]); 90 90 end; 91 with TFunction( Methods[Methods.Add(TFunction.Create)]) do begin91 with TFunction(Functions[Functions.Add(TFunction.Create)]) do begin 92 92 Name := 'WriteLn'; 93 93 ResultType := TType(TModule(Modules[0]).Types[0]); 94 with TParameter(Parameters[Parameters.Add(TParameter.Create)]) do begin 95 Name := 'Text'; 96 ValueType := TType(TModule(Modules[0]).Types[1]); 97 end; 94 98 end; 95 99 end;
Note:
See TracChangeset
for help on using the changeset viewer.