What do you guys think of this example? Is it readable? Can you get what its doing right away?
% ZOMG Sample file
mov myVar,Dom::Int(9)
mov myString,Dom::String("Whats up pop? I'm ")
con myString,myVar
mov ax,myString
print //Prints 'Whats up pop? I'm 9'
% Test BOOST networking
mov myIP,Dom::String("19.18.102.242")
mov myNet,Dom::Net(myIP)
mov ax,myNet.Read(Dom::Int(1024))
print //Prints 1024 bytes from the stream
BTW: Dom is the actual namespace used in the C++ code


Sign In
Create Account

Back to top










