home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1995-09-11 | 2.3 KB | [TEXT/CWIE] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: PExample.p
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| ZX81 Sinclair BASIC (image/sinclairBASIC)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Applause Picture (image/applausePicture)
| ext
| Unsupported |
1%
| dexvert
| bsdiff patch (other/bsdiffPatch)
| ext
| Unsupported |
1%
| dexvert
| imgdiff patch (other/imgdiffPatch)
| ext
| Unsupported |
1%
| dexvert
| MATLAB p-code (other/matlabPCode)
| ext
| Unsupported |
1%
| dexvert
| WSUS Patch Storage File (other/wsusPatchStorageFile)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Sep 11 22:52:00 1995, modified Mon Sep 11 22:52:00 1995, creator 'CWIE', type ASCII, 1558 bytes "PExample.p" , at 0x696 428 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [CWIE] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 50 45 78 61 6d 70 | 6c 65 2e 70 00 00 00 00 |..PExamp|le.p....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 06 16 00 | 00 01 ac ac 7a a6 50 ac |........|....z.P.|
|00000060| 7a a6 50 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |z.P.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 03 aa 00 00 |........|........|
|00000080| 70 72 6f 67 72 61 6d 20 | 50 45 78 61 6d 70 6c 65 |program |PExample|
|00000090| 3b 0d 0d 09 75 73 65 73 | 0d 09 09 54 79 70 65 73 |;...uses|...Types|
|000000a0| 2c 20 46 69 6c 65 73 2c | 20 50 61 63 6b 61 67 65 |, Files,| Package|
|000000b0| 73 2c 20 41 6c 69 61 73 | 65 73 2c 20 0d 09 09 49 |s, Alias|es, ...I|
|000000c0| 43 54 79 70 65 73 2c 20 | 49 43 4b 65 79 73 2c 20 |CTypes, |ICKeys, |
|000000d0| 49 43 41 50 49 3b 0d 0d | 09 76 61 72 0d 09 09 69 |ICAPI;..|.var...i|
|000000e0| 6e 73 74 3a 20 49 43 49 | 6e 73 74 61 6e 63 65 3b |nst: ICI|nstance;|
|000000f0| 0d 0d 09 70 72 6f 63 65 | 64 75 72 65 20 44 75 6d |...proce|dure Dum|
|00000100| 70 50 72 65 66 73 3b 0d | 09 09 76 61 72 0d 09 09 |pPrefs;.|..var...|
|00000110| 09 63 6f 75 6e 74 3a 20 | 6c 6f 6e 67 69 6e 74 3b |.count: |longint;|
|00000120| 0d 09 09 09 69 3a 20 6c | 6f 6e 67 69 6e 74 3b 0d |....i: l|ongint;.|
|00000130| 09 09 09 6b 65 79 3a 20 | 53 74 72 32 35 35 3b 0d |...key: |Str255;.|
|00000140| 09 62 65 67 69 6e 0d 09 | 09 77 72 69 74 65 6c 6e |.begin..|.writeln|
|00000150| 28 27 49 43 43 6f 75 6e | 74 50 72 65 66 3a 20 27 |('ICCoun|tPref: '|
|00000160| 2c 20 49 43 43 6f 75 6e | 74 50 72 65 66 28 69 6e |, ICCoun|tPref(in|
|00000170| 73 74 2c 20 63 6f 75 6e | 74 29 20 3a 20 31 29 3b |st, coun|t) : 1);|
|00000180| 0d 09 09 66 6f 72 20 69 | 20 3a 3d 20 31 20 74 6f |...for i| := 1 to|
|00000190| 20 63 6f 75 6e 74 20 64 | 6f 20 62 65 67 69 6e 0d | count d|o begin.|
|000001a0| 09 09 09 77 72 69 74 65 | 28 27 20 20 49 43 47 65 |...write|(' ICGe|
|000001b0| 74 49 6e 64 50 72 65 66 | 3a 20 27 2c 20 49 43 47 |tIndPref|: ', ICG|
|000001c0| 65 74 49 6e 64 50 72 65 | 66 28 69 6e 73 74 2c 20 |etIndPre|f(inst, |
|000001d0| 69 2c 20 6b 65 79 29 20 | 3a 20 31 2c 20 27 20 2d |i, key) |: 1, ' -|
|000001e0| 20 27 29 3b 0d 09 09 09 | 77 72 69 74 65 6c 6e 28 | ');....|writeln(|
|000001f0| 6b 65 79 29 3b 0d 09 09 | 65 6e 64 3b 20 28 2a 20 |key);...|end; (* |
|00000200| 66 6f 72 20 2a 29 0d 09 | 65 6e 64 3b 20 28 2a 20 |for *)..|end; (* |
|00000210| 44 75 6d 70 50 72 65 66 | 73 20 2a 29 0d 0d 09 70 |DumpPref|s *)...p|
|00000220| 72 6f 63 65 64 75 72 65 | 20 54 65 73 74 50 61 73 |rocedure| TestPas|
|00000230| 63 61 6c 3b 0d 09 09 76 | 61 72 0d 09 09 09 66 6f |cal;...v|ar....fo|
|00000240| 6c 64 65 72 5f 73 70 65 | 63 3a 20 49 43 44 69 72 |lder_spe|c: ICDir|
|00000250| 53 70 65 63 41 72 72 61 | 79 3b 0d 09 09 09 65 6d |SpecArra|y;....em|
|00000260| 61 69 6c 5f 61 64 64 72 | 65 73 73 3a 20 53 74 72 |ail_addr|ess: Str|
|00000270| 32 35 35 3b 0d 09 09 09 | 61 74 74 72 3a 20 6c 6f |255;....|attr: lo|
|00000280| 6e 67 69 6e 74 3b 0d 09 | 09 09 73 69 7a 65 3a 20 |ngint;..|..size: |
|00000290| 6c 6f 6e 67 69 6e 74 3b | 0d 09 09 09 73 65 65 64 |longint;|....seed|
|000002a0| 3a 20 6c 6f 6e 67 69 6e | 74 3b 0d 09 09 09 6d 61 |: longin|t;....ma|
|000002b0| 70 70 69 6e 67 73 3a 20 | 68 61 6e 64 6c 65 3b 0d |ppings: |handle;.|
|000002c0| 09 09 09 65 6e 74 72 79 | 3a 20 49 43 4d 61 70 45 |...entry|: ICMapE|
|000002d0| 6e 74 72 79 3b 0d 09 62 | 65 67 69 6e 0d 09 09 77 |ntry;..b|egin...w|
|000002e0| 72 69 74 65 6c 6e 28 27 | 49 43 53 74 61 72 74 3a |riteln('|ICStart:|
|000002f0| 20 27 2c 20 49 43 53 74 | 61 72 74 28 69 6e 73 74 | ', ICSt|art(inst|
|00000300| 2c 20 27 43 52 45 41 27 | 29 20 3a 20 31 29 3b 09 |, 'CREA'|) : 1);.|
|00000310| 09 28 2a 20 74 65 6c 6c | 20 69 74 20 79 6f 75 72 |.(* tell| it your|
|00000320| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 63 72 65 | applica|tion cre|
|00000330| 61 74 6f 72 20 2a 29 0d | 09 09 66 6f 6c 64 65 72 |ator *).|..folder|
|00000340| 5f 73 70 65 63 5b 30 5d | 2e 76 52 65 66 4e 75 6d |_spec[0]|.vRefNum|
|00000350| 20 3a 3d 20 2d 31 3b 09 | 09 09 09 09 09 09 09 28 | := -1;.|.......(|
|00000360| 2a 20 73 65 61 72 63 68 | 20 66 6f 72 20 70 72 65 |* search| for pre|
|00000370| 66 73 20 69 6e 20 72 6f | 6f 74 20 6f 66 20 74 68 |fs in ro|ot of th|
|00000380| 65 20 73 79 73 74 65 6d | 20 2a 29 0d 09 09 66 6f |e system| *)...fo|
|00000390| 6c 64 65 72 5f 73 70 65 | 63 5b 30 5d 2e 64 69 72 |lder_spe|c[0].dir|
|000003a0| 49 44 20 3a 3d 20 32 3b | 09 09 09 09 09 09 09 09 |ID := 2;|........|
|000003b0| 09 09 28 2a 20 76 6f 6c | 75 6d 65 2c 20 6f 62 76 |..(* vol|ume, obv|
|000003c0| 69 6f 75 73 6c 79 20 79 | 6f 75 27 64 20 75 73 65 |iously y|ou'd use|
|000003d0| 20 6f 74 68 65 72 20 74 | 68 69 6e 67 73 20 2a 29 | other t|hings *)|
|000003e0| 0d 09 09 77 72 69 74 65 | 6c 6e 28 27 49 43 46 69 |...write|ln('ICFi|
|000003f0| 6e 64 43 6f 6e 66 69 67 | 46 69 6c 65 3a 20 27 2c |ndConfig|File: ',|
|00000400| 20 49 43 46 69 6e 64 43 | 6f 6e 66 69 67 46 69 6c | ICFindC|onfigFil|
|00000410| 65 28 69 6e 73 74 2c 20 | 31 2c 20 40 66 6f 6c 64 |e(inst, |1, @fold|
|00000420| 65 72 5f 73 70 65 63 29 | 20 3a 20 31 29 3b 0d 09 |er_spec)| : 1);..|
|00000430| 0d 09 09 77 72 69 74 65 | 6c 6e 28 27 49 43 42 65 |...write|ln('ICBe|
|00000440| 67 69 6e 3a 20 27 2c 20 | 49 43 42 65 67 69 6e 28 |gin: ', |ICBegin(|
|00000450| 69 6e 73 74 2c 20 69 63 | 52 65 61 64 57 72 69 74 |inst, ic|ReadWrit|
|00000460| 65 50 65 72 6d 29 20 3a | 20 31 29 3b 0d 09 09 73 |ePerm) :| 1);...s|
|00000470| 69 7a 65 20 3a 3d 20 73 | 69 7a 65 6f 66 28 65 6d |ize := s|izeof(em|
|00000480| 61 69 6c 5f 61 64 64 72 | 65 73 73 29 3b 0d 09 09 |ail_addr|ess);...|
|00000490| 77 72 69 74 65 6c 6e 28 | 27 49 43 47 65 74 50 72 |writeln(|'ICGetPr|
|000004a0| 65 66 3a 20 27 2c 20 49 | 43 47 65 74 50 72 65 66 |ef: ', I|CGetPref|
|000004b0| 28 69 6e 73 74 2c 20 6b | 49 43 45 6d 61 69 6c 2c |(inst, k|ICEmail,|
|000004c0| 20 61 74 74 72 2c 20 40 | 65 6d 61 69 6c 5f 61 64 | attr, @|email_ad|
|000004d0| 64 72 65 73 73 2c 20 73 | 69 7a 65 29 20 3a 20 31 |dress, s|ize) : 1|
|000004e0| 29 3b 0d 09 09 77 72 69 | 74 65 6c 6e 28 27 59 6f |);...wri|teln('Yo|
|000004f0| 75 72 20 45 6d 61 69 6c | 20 61 64 64 72 65 73 73 |ur Email| address|
|00000500| 20 69 73 20 27 2c 20 65 | 6d 61 69 6c 5f 61 64 64 | is ', e|mail_add|
|00000510| 72 65 73 73 29 3b 0d 09 | 0d 09 09 44 75 6d 70 50 |ress);..|...DumpP|
|00000520| 72 65 66 73 3b 0d 09 09 | 77 72 69 74 65 6c 6e 28 |refs;...|writeln(|
|00000530| 27 49 43 45 6e 64 3a 20 | 27 2c 20 49 43 45 6e 64 |'ICEnd: |', ICEnd|
|00000540| 28 69 6e 73 74 29 20 3a | 20 31 29 3b 0d 09 0d 09 |(inst) :| 1);....|
|00000550| 09 77 72 69 74 65 6c 6e | 28 27 49 43 47 65 74 53 |.writeln|('ICGetS|
|00000560| 65 65 64 3a 20 27 2c 20 | 49 43 47 65 74 53 65 65 |eed: ', |ICGetSee|
|00000570| 64 28 69 6e 73 74 2c 20 | 73 65 65 64 29 20 3a 20 |d(inst, |seed) : |
|00000580| 31 2c 20 27 20 3d 20 27 | 2c 20 73 65 65 64 20 3a |1, ' = '|, seed :|
|00000590| 20 31 29 3b 0d 09 09 28 | 2a 20 6e 6f 77 20 6d 6f | 1);...(|* now mo|
|000005a0| 6e 69 74 6f 72 20 74 68 | 69 73 20 73 65 65 64 20 |nitor th|is seed |
|000005b0| 74 6f 20 73 65 65 20 69 | 66 20 61 6e 79 20 70 72 |to see i|f any pr|
|000005c0| 65 66 65 72 65 6e 63 65 | 73 20 68 61 76 65 20 63 |eference|s have c|
|000005d0| 68 61 6e 67 65 64 20 2a | 29 0d 09 0d 09 09 77 72 |hanged *|).....wr|
|000005e0| 69 74 65 6c 6e 28 27 49 | 43 53 74 6f 70 3a 20 27 |iteln('I|CStop: '|
|000005f0| 2c 20 49 43 53 74 6f 70 | 28 69 6e 73 74 29 29 3b |, ICStop|(inst));|
|00000600| 0d 09 65 6e 64 3b 0d 09 | 0d 09 70 72 6f 63 65 64 |..end;..|..proced|
|00000610| 75 72 65 20 54 65 73 74 | 43 3b 20 43 3b 20 65 78 |ure Test|C; C; ex|
|00000620| 74 65 72 6e 61 6c 3b 0d | 09 09 0d 62 65 67 69 6e |ternal;.|...begin|
|00000630| 0d 09 77 72 69 74 65 6c | 6e 28 27 54 65 73 74 69 |..writel|n('Testi|
|00000640| 6e 67 20 50 61 73 63 61 | 6c 27 29 3b 0d 09 54 65 |ng Pasca|l');..Te|
|00000650| 73 74 50 61 73 63 61 6c | 3b 0d 09 77 72 69 74 65 |stPascal|;..write|
|00000660| 6c 6e 3b 0d 09 77 72 69 | 74 65 6c 6e 28 27 54 65 |ln;..wri|teln('Te|
|00000670| 73 74 69 6e 67 20 43 27 | 29 3b 0d 09 54 65 73 74 |sting C'|);..Test|
|00000680| 43 3b 0d 65 6e 64 2e 20 | 28 2a 20 50 45 78 61 6d |C;.end. |(* PExam|
|00000690| 70 6c 65 20 2a 29 00 00 | 00 00 00 00 00 00 00 00 |ple *)..|........|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00000710| 33 45 38 30 3b 0d 46 55 | 4e 43 54 49 4f 4e 20 50 |3E80;.FU|NCTION P|
|00000720| 42 53 65 74 45 4f 46 28 | 70 61 72 61 6d 42 6c 6f |BSetEOF(|paramBlo|
|00000730| 0a 50 45 78 61 6d 70 6c | 65 2e 70 00 02 00 00 00 |.PExampl|e.p.....|
|00000740| 54 45 58 54 43 57 49 45 | 01 00 00 3c 00 00 00 00 |TEXTCWIE|...<....|
|00000750| 00 00 54 45 58 54 43 57 | 49 45 01 00 00 3c 00 00 |..TEXTCW|IE...<..|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 a9 a6 e5 13 00 00 | 06 16 00 00 01 ac 6c 6b |........|......lk|
|00000780| 50 74 72 29 3a 20 4f 53 | 45 72 72 3b 0d 20 49 4e |Ptr): OS|Err;. IN|
|00000790| 4c 49 4e 45 20 24 32 30 | 35 46 2c 24 41 30 31 32 |LINE $20|5F,$A012|
|000007a0| 2c 24 33 45 38 30 3b 0d | 46 55 4e 43 54 49 4f 4e |,$3E80;.|FUNCTION|
|000007b0| 20 50 42 53 65 74 45 4f | 46 41 73 79 6e 63 28 70 | PBSetEO|FAsync(p|
|000007c0| 61 72 61 6d 42 6c 6f 63 | 6b 3a 20 50 61 72 6d 42 |aramBloc|k: ParmB|
|000007d0| 6c 6b 50 74 72 29 3a 20 | 4f 53 45 72 72 3b 0d 20 |lkPtr): |OSErr;. |
|000007e0| 49 4e 4c 49 4e 45 20 24 | 32 30 35 46 2c 24 41 34 |INLINE $|205F,$A4|
|000007f0| 31 32 2c 24 33 45 38 30 | 3b 0d 46 55 4e 43 54 49 |12,$3E80|;.FUNCTI|
|00000800| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 54 79 70 |...H..Mo|naco.Typ|
|00000810| 65 73 2c 20 46 69 6c 65 | 73 2c 20 50 61 63 6b 61 |es, File|s, Packa|
|00000820| 67 65 73 2c 0d 7b 00 06 | 00 02 00 50 00 20 01 dd |ges,.{..|...P. ..|
|00000830| 02 3d 00 50 00 20 01 dd | 02 3d ab bf 57 fb 00 00 |.=.P. ..|.=..W...|
|00000840| 00 76 00 00 00 76 00 00 | 00 00 01 00 00 00 00 1e |.v...v..|........|
|00000850| 00 50 00 20 01 dd 02 3d | 00 50 00 20 01 dd 02 3d |.P. ...=|.P. ...=|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 6e |.....n..|.n...>.n|
|00000880| 2c 38 0b c2 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |,8......|.>..MPSR|
|00000890| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|000008a0| 03 f0 ff ff 00 00 00 4c | 00 70 88 38 00 00 00 00 |.......L|.p.8....|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+