Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

123 #267

Open
dwwoelfel opened this issue Sep 14, 2020 · 5 comments
Open

123 #267

dwwoelfel opened this issue Sep 14, 2020 · 5 comments
Assignees
Labels
Publish Add this label to an issue in order for it to be published on the blog

Comments

@dwwoelfel
Copy link
Owner

dwwoelfel commented Sep 14, 2020

Testing

https://www.youtube.com/watch?v=modXC5IWTJI

@dwwoelfel dwwoelfel added the Publish Add this label to an issue in order for it to be published on the blog label Sep 14, 2020
@dwwoelfel dwwoelfel self-assigned this Sep 14, 2020
@dwwoelfel
Copy link
Owner Author

Testing123

@dwwoelfel
Copy link
Owner Author

Test

@dwwoelfel
Copy link
Owner Author

Hello

@dwwoelfel
Copy link
Owner Author

World

@dwwoelfel
Copy link
Owner Author

Here's some code

var y: i32 = add(10, x);
const x: i32 = add(12, 34);

test "global variables" {
    assert(x == 46);
    assert(y == 56);
}

fn add(a: i32, b: i32) i32 {
    return a + b;
}

const std = @import("std");
const assert = std.debug.assert;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Publish Add this label to an issue in order for it to be published on the blog
Projects
None yet
Development

No branches or pull requests

1 participant