home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 2 / MECOMP-CD-II.iso / amiga / programmieren / basic / tcp-extension / examples / hostname < prev    next >
Unknown  |  1997-10-21  |  290 b 

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default
100% gt2 Kopftext: ';This routine shows you how to read your hostname' default (weak)
100% disktype Blank disk/medium default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 54 68 69 73 20 72 6f | 75 74 69 6e 65 20 73 68 |;This ro|utine sh|
|00000010| 6f 77 73 20 79 6f 75 20 | 68 6f 77 20 74 6f 20 72 |ows you |how to r|
|00000020| 65 61 64 20 79 6f 75 72 | 20 68 6f 73 74 6e 61 6d |ead your| hostnam|
|00000030| 65 00 00 61 24 3d dc 88 | 28 dc 86 28 30 29 2c 33 |e..a$=..|(..(0),3|
|00000040| 30 29 20 20 20 20 20 20 | 20 20 20 20 3b 4d 61 6b |0) | ;Mak|
|00000050| 65 20 61 24 20 33 30 20 | 63 68 61 72 61 63 68 74 |e a$ 30 |characht|
|00000060| 65 72 73 20 69 6e 20 6c | 65 6e 67 68 74 20 66 69 |ers in l|enght fi|
|00000070| 6c 6c 65 64 20 77 69 74 | 68 20 30 00 61 3d ec ab |lled wit|h 0.a=..|
|00000080| 28 26 61 24 2c 33 30 29 | 20 20 20 20 20 20 20 20 |(&a$,30)| |
|00000090| 20 20 3b 52 65 61 64 20 | 68 6f 73 74 6e 61 6d 65 | ;Read |hostname|
|000000a0| 20 61 6e 64 20 70 6c 61 | 63 65 20 69 74 20 69 6e | and pla|ce it in|
|000000b0| 20 61 24 00 62 24 3d dc | 93 28 61 24 2c 30 29 20 | a$.b$=.|.(a$,0) |
|000000c0| 20 20 20 20 20 20 20 20 | 20 20 20 3b 52 65 6d 6f | | ;Remo|
|000000d0| 76 65 20 61 6e 79 20 74 | 72 61 69 6c 69 6e 67 20 |ve any t|railing |
|000000e0| 30 20 66 72 6f 6d 20 6f | 75 72 20 73 74 72 69 6e |0 from o|ur strin|
|000000f0| 67 00 dd 82 20 22 59 6f | 75 72 20 68 6f 73 74 6e |g... "Yo|ur hostn|
|00000100| 61 6d 65 20 69 73 3a 20 | 22 2c 62 24 20 20 3b 50 |ame is: |",b$ ;P|
|00000110| 72 69 6e 74 20 68 6f 73 | 74 6e 61 6d 65 00 80 02 |rint hos|tname...|
|00000120| 00 00 | |.. | |
+--------+-------------------------+-------------------------+--------+--------+