Skip to content

Commit

Permalink
global block in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyalIcing committed Jan 17, 2024
1 parent 34e2de9 commit be44c37
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ end
defmodule CalculateMean do
use Orb

I32.global(
count: 0,
tally: 0
)
global do
@count 0
@tally 0
end

defw insert(element: I32) do
@count = @count + 1
Expand Down

0 comments on commit be44c37

Please sign in to comment.