Change expr/stmt in examples to untyped (#6734)
This commit is contained in:
parent
5e66a7ce59
commit
ac5dff2e04
16 changed files with 56 additions and 119 deletions
|
|
@ -85,7 +85,7 @@
|
|||
<int key="IBUITag">2</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIText">Nimrod Crossplatform Calculator</string>
|
||||
<string key="IBUIText">Nim Crossplatform Calculator</string>
|
||||
<object class="NSColor" key="IBUITextColor" id="128895179">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MCAwIDAAA</bytes>
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ function myAdd(x, y: longint): longint; cdecl; external;
|
|||
|
||||
procedure TForm1.FormCreate(Sender: TObject);
|
||||
begin
|
||||
// we initialize the Nimrod data structures here:
|
||||
// we initialize the Nim data structures here:
|
||||
NimMain();
|
||||
end;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Nimrod configuration file.
|
||||
# Nim configuration file.
|
||||
# The file is used only to add the path of the backend to the compiler options.
|
||||
|
||||
path="../nim_backend"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ The cross platform calculator illustrates how to use Nim to create a backend
|
|||
called by different native user interfaces.
|
||||
|
||||
Since the purpose of the example is to show how the cross platform code
|
||||
interacts with Nimrod the actual backend code is just a simple addition proc.
|
||||
interacts with Nim the actual backend code is just a simple addition proc.
|
||||
By keeping your program logic in Nim you can easily reuse it in different
|
||||
platforms.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue