mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-23 06:05:00 -07:00
14 lines
200 B
Odin
14 lines
200 B
Odin
#import "fmt.odin";
|
|
|
|
main :: proc() {
|
|
x: [dynamic]f64;
|
|
defer free(x);
|
|
append(^x, 2_000_000.500_000, 3, 5, 7);
|
|
|
|
for p, i in x {
|
|
if i > 0 { fmt.print(", "); }
|
|
fmt.print(p);
|
|
}
|
|
fmt.println();
|
|
}
|