DNS query: Difference between revisions

Content added Content deleted
No edit summary
m (→‎{{header|FutureBasic}}: Inserted code indents)
Line 714: Line 714:
open "UNIX", 1, UnixCommand
open "UNIX", 1, UnixCommand
while ( not eof( 1 ) )
while ( not eof( 1 ) )
input #1, UnixResponse
input #1, UnixResponse
print UnixResponse
print UnixResponse
wend
wend
close 1
close 1
Line 725: Line 725:
open "UNIX", 1, UnixCommand
open "UNIX", 1, UnixCommand
while ( not eof( 1 ) )
while ( not eof( 1 ) )
input #1, UnixResponse
input #1, UnixResponse
print UnixResponse
print UnixResponse
wend
wend
close 1
close 1


HandleEvents
handleevents
</syntaxhighlight>
</syntaxhighlight>
{{output}}
{{output}}
Line 753: Line 753:
mango.itojun.org has AAAA address 2001:2f0:0:8800:226:2dff:fe0b:4311
mango.itojun.org has AAAA address 2001:2f0:0:8800:226:2dff:fe0b:4311
</pre>
</pre>



=={{header|Go}}==
=={{header|Go}}==