Skip to content

Instantly share code, notes, and snippets.

@run-dlang
Created September 29, 2023 06:53
Show Gist options
  • Save run-dlang/a1f9592df6e6937f1b440b20a270a0d8 to your computer and use it in GitHub Desktop.
Save run-dlang/a1f9592df6e6937f1b440b20a270a0d8 to your computer and use it in GitHub Desktop.
Code shared from run.dlang.io.
import std;
void main()
{
byte a = 2;
ulong b = 50000000000UL;
long c = -10000L;
ubyte d = 130;
writeln("a(byte)=",a);
writeln("b(ulong)=",b);
writeln("c(long)=",c) ;
writeln("d(ubyte)=",d);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment