home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1997 January / macpower199701.bin / AMUG / Programming_10 / ICPAppSource+ICprogKit / ICAppSourceKit 1.3.sit / ICAppSourceKit1.3 / ICStandardFile.p < prev    next >
MacBinary  |  1995-11-07  |  3.8 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: ICStandardFile.p

ConfidenceProgramDetectionMatch TypeSupport
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, Tue Nov 7 10:19:11 1995, modified Tue Nov 7 10:19:11 1995, creator 'CWIE', type ASCII, 3080 bytes "ICStandardFile.p" , at 0xc88 410 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
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 49 43 53 74 61 6e | 64 61 72 64 46 69 6c 65 |..ICStan|dardFile|
|00000010| 2e 70 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.p......|........|
|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 0c 08 00 | 00 01 9a ac c5 29 6f ac |........|.....)o.|
|00000060| c5 29 6f 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.)o.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 4a 2e 00 00 |........|....J...|
|00000080| 75 6e 69 74 20 49 43 53 | 74 61 6e 64 61 72 64 46 |unit ICS|tandardF|
|00000090| 69 6c 65 3b 0d 0d 69 6e | 74 65 72 66 61 63 65 0d |ile;..in|terface.|
|000000a0| 0d 09 75 73 65 73 0d 09 | 09 46 69 6c 65 73 3b 0d |..uses..|.Files;.|
|000000b0| 09 09 0d 09 66 75 6e 63 | 74 69 6f 6e 20 49 43 53 |....func|tion ICS|
|000000c0| 74 61 6e 64 61 72 64 47 | 65 74 46 69 6c 65 20 28 |tandardG|etFile (|
|000000d0| 74 3a 20 4f 53 54 79 70 | 65 3b 20 76 61 72 20 66 |t: OSTyp|e; var f|
|000000e0| 73 3a 20 46 53 53 70 65 | 63 3b 20 76 61 72 20 66 |s: FSSpe|c; var f|
|000000f0| 69 3a 20 46 49 6e 66 6f | 29 3a 20 4f 53 45 72 72 |i: FInfo|): OSErr|
|00000100| 3b 0d 09 66 75 6e 63 74 | 69 6f 6e 20 49 43 53 74 |;..funct|ion ICSt|
|00000110| 61 6e 64 61 72 64 50 75 | 74 46 69 6c 65 20 28 70 |andardPu|tFile (p|
|00000120| 72 6f 6d 70 74 2c 20 6e | 61 6d 65 3a 20 73 74 72 |rompt, n|ame: str|
|00000130| 32 35 35 3b 20 76 61 72 | 20 66 73 3a 20 46 53 53 |255; var| fs: FSS|
|00000140| 70 65 63 29 3a 20 4f 53 | 45 72 72 3b 0d 09 66 75 |pec): OS|Err;..fu|
|00000150| 6e 63 74 69 6f 6e 20 49 | 43 53 74 61 6e 64 61 72 |nction I|CStandar|
|00000160| 64 47 65 74 46 6f 6c 64 | 65 72 20 28 76 61 72 20 |dGetFold|er (var |
|00000170| 66 73 3a 20 46 53 53 70 | 65 63 3b 20 76 61 72 20 |fs: FSSp|ec; var |
|00000180| 64 69 72 49 44 3a 20 6c | 6f 6e 67 49 6e 74 29 3a |dirID: l|ongInt):|
|00000190| 20 4f 53 45 72 72 3b 0d | 0d 69 6d 70 6c 65 6d 65 | OSErr;.|.impleme|
|000001a0| 6e 74 61 74 69 6f 6e 0d | 0d 09 75 73 65 73 0d 09 |ntation.|..uses..|
|000001b0| 09 46 69 6e 64 65 72 2c | 20 53 74 61 6e 64 61 72 |.Finder,| Standar|
|000001c0| 64 46 69 6c 65 2c 20 49 | 43 47 6c 6f 62 61 6c 73 |dFile, I|CGlobals|
|000001d0| 2c 20 49 43 4d 69 73 63 | 53 75 62 73 2c 20 53 74 |, ICMisc|Subs, St|
|000001e0| 61 6e 64 61 72 64 47 65 | 74 46 6f 6c 64 65 72 3b |andardGe|tFolder;|
|000001f0| 0d 0d 09 66 75 6e 63 74 | 69 6f 6e 20 49 43 53 74 |...funct|ion ICSt|
|00000200| 61 6e 64 61 72 64 47 65 | 74 46 69 6c 65 20 28 74 |andardGe|tFile (t|
|00000210| 3a 20 4f 53 54 79 70 65 | 3b 20 76 61 72 20 66 73 |: OSType|; var fs|
|00000220| 3a 20 46 53 53 70 65 63 | 3b 20 76 61 72 20 66 69 |: FSSpec|; var fi|
|00000230| 3a 20 46 49 6e 66 6f 29 | 3a 20 4f 53 45 72 72 3b |: FInfo)|: OSErr;|
|00000240| 0d 09 09 76 61 72 0d 09 | 09 09 74 6c 3a 20 53 46 |...var..|..tl: SF|
|00000250| 54 79 70 65 4c 69 73 74 | 3b 0d 09 09 09 72 65 70 |TypeList|;....rep|
|00000260| 6c 79 3a 20 53 46 52 65 | 70 6c 79 3b 0d 09 09 09 |ly: SFRe|ply;....|
|00000270| 74 79 70 65 73 3a 20 69 | 6e 74 65 67 65 72 3b 0d |types: i|nteger;.|
|00000280| 09 09 09 65 72 72 3a 20 | 4f 53 45 72 72 3b 0d 09 |...err: |OSErr;..|
|00000290| 09 09 6a 75 6e 6b 6c 6f | 6e 67 3a 20 6c 6f 6e 67 |..junklo|ng: long|
|000002a0| 49 6e 74 3b 0d 09 09 09 | 6e 72 65 70 6c 79 3a 20 |Int;....|nreply: |
|000002b0| 53 74 61 6e 64 61 72 64 | 46 69 6c 65 52 65 70 6c |Standard|FileRepl|
|000002c0| 79 3b 0d 09 62 65 67 69 | 6e 0d 09 09 74 6c 5b 30 |y;..begi|n...tl[0|
|000002d0| 5d 20 3a 3d 20 74 3b 0d | 09 09 69 66 20 74 20 3d |] := t;.|..if t =|
|000002e0| 20 4f 53 54 79 70 65 28 | 30 29 20 74 68 65 6e 20 | OSType(|0) then |
|000002f0| 62 65 67 69 6e 0d 09 09 | 09 74 79 70 65 73 20 3a |begin...|.types :|
|00000300| 3d 20 2d 31 3b 0d 09 09 | 65 6e 64 20 65 6c 73 65 |= -1;...|end else|
|00000310| 20 69 66 20 74 20 3d 20 | 27 41 50 50 4c 27 20 74 | if t = |'APPL' t|
|00000320| 68 65 6e 20 62 65 67 69 | 6e 0d 09 09 09 74 6c 5b |hen begi|n....tl[|
|00000330| 31 5d 20 3a 3d 20 6b 41 | 70 70 6c 69 63 61 74 69 |1] := kA|pplicati|
|00000340| 6f 6e 41 6c 69 61 73 54 | 79 70 65 3b 0d 09 09 09 |onAliasT|ype;....|
|00000350| 74 79 70 65 73 20 3a 3d | 20 32 3b 0d 09 09 65 6e |types :=| 2;...en|
|00000360| 64 20 65 6c 73 65 20 62 | 65 67 69 6e 0d 09 09 09 |d else b|egin....|
|00000370| 74 79 70 65 73 20 3a 3d | 20 31 3b 0d 09 09 65 6e |types :=| 1;...en|
|00000380| 64 3b 0d 09 09 65 72 72 | 20 3a 3d 20 75 73 65 72 |d;...err| := user|
|00000390| 43 61 6e 63 65 6c 65 64 | 45 72 72 3b 0d 09 09 69 |Canceled|Err;...i|
|000003a0| 66 20 68 61 73 5f 6e 65 | 77 53 74 64 46 69 6c 65 |f has_ne|wStdFile|
|000003b0| 20 74 68 65 6e 20 62 65 | 67 69 6e 0d 09 09 09 53 | then be|gin....S|
|000003c0| 74 61 6e 64 61 72 64 47 | 65 74 46 69 6c 65 28 6e |tandardG|etFile(n|
|000003d0| 69 6c 2c 20 74 79 70 65 | 73 2c 20 40 74 6c 2c 20 |il, type|s, @tl, |
|000003e0| 6e 72 65 70 6c 79 29 3b | 0d 09 09 09 69 66 20 6e |nreply);|....if n|
|000003f0| 72 65 70 6c 79 2e 73 66 | 47 6f 6f 64 20 74 68 65 |reply.sf|Good the|
|00000400| 6e 20 62 65 67 69 6e 0d | 09 09 09 09 66 73 20 3a |n begin.|....fs :|
|00000410| 3d 20 6e 72 65 70 6c 79 | 2e 73 66 46 69 6c 65 3b |= nreply|.sfFile;|
|00000420| 0d 09 09 09 09 65 72 72 | 20 3a 3d 20 48 47 65 74 |.....err| := HGet|
|00000430| 46 49 6e 66 6f 28 66 73 | 2e 76 52 65 66 4e 75 6d |FInfo(fs|.vRefNum|
|00000440| 2c 20 66 73 2e 70 61 72 | 49 44 2c 20 66 73 2e 6e |, fs.par|ID, fs.n|
|00000450| 61 6d 65 2c 20 66 69 29 | 3b 0d 09 09 09 65 6e 64 |ame, fi)|;....end|
|00000460| 3b 0d 09 09 65 6e 64 20 | 65 6c 73 65 20 62 65 67 |;...end |else beg|
|00000470| 69 6e 0d 09 09 09 53 46 | 47 65 74 46 69 6c 65 28 |in....SF|GetFile(|
|00000480| 50 6f 69 6e 74 28 24 30 | 30 36 34 30 30 36 34 29 |Point($0|0640064)|
|00000490| 2c 20 27 27 2c 20 6e 69 | 6c 2c 20 74 79 70 65 73 |, '', ni|l, types|
|000004a0| 2c 20 40 74 6c 2c 20 6e | 69 6c 2c 20 72 65 70 6c |, @tl, n|il, repl|
|000004b0| 79 29 3b 0d 09 09 09 69 | 66 20 72 65 70 6c 79 2e |y);....i|f reply.|
|000004c0| 67 6f 6f 64 20 74 68 65 | 6e 20 62 65 67 69 6e 0d |good the|n begin.|
|000004d0| 09 09 09 09 65 72 72 20 | 3a 3d 20 47 65 74 46 49 |....err |:= GetFI|
|000004e0| 6e 66 6f 28 72 65 70 6c | 79 2e 66 4e 61 6d 65 2c |nfo(repl|y.fName,|
|000004f0| 20 72 65 70 6c 79 2e 76 | 52 65 66 4e 75 6d 2c 20 | reply.v|RefNum, |
|00000500| 66 69 29 3b 0d 09 09 09 | 09 69 66 20 65 72 72 20 |fi);....|.if err |
|00000510| 3d 20 6e 6f 45 72 72 20 | 74 68 65 6e 20 62 65 67 |= noErr |then beg|
|00000520| 69 6e 0d 09 09 09 09 09 | 66 73 2e 6e 61 6d 65 20 |in......|fs.name |
|00000530| 3a 3d 20 72 65 70 6c 79 | 2e 66 4e 61 6d 65 3b 0d |:= reply|.fName;.|
|00000540| 09 09 09 09 09 65 72 72 | 20 3a 3d 20 47 65 74 57 |.....err| := GetW|
|00000550| 44 69 6e 66 6f 28 72 65 | 70 6c 79 2e 76 52 65 66 |Dinfo(re|ply.vRef|
|00000560| 4e 75 6d 2c 20 66 73 2e | 76 52 65 66 4e 75 6d 2c |Num, fs.|vRefNum,|
|00000570| 20 66 73 2e 70 61 72 49 | 44 2c 20 6a 75 6e 6b 6c | fs.parI|D, junkl|
|00000580| 6f 6e 67 29 3b 0d 09 09 | 09 09 65 6e 64 3b 0d 09 |ong);...|..end;..|
|00000590| 09 09 65 6e 64 3b 0d 09 | 09 65 6e 64 3b 0d 09 09 |..end;..|.end;...|
|000005a0| 49 43 53 74 61 6e 64 61 | 72 64 47 65 74 46 69 6c |ICStanda|rdGetFil|
|000005b0| 65 20 3a 3d 20 65 72 72 | 3b 0d 09 65 6e 64 3b 0d |e := err|;..end;.|
|000005c0| 0d 09 66 75 6e 63 74 69 | 6f 6e 20 49 43 53 74 61 |..functi|on ICSta|
|000005d0| 6e 64 61 72 64 50 75 74 | 46 69 6c 65 20 28 70 72 |ndardPut|File (pr|
|000005e0| 6f 6d 70 74 2c 20 6e 61 | 6d 65 3a 20 73 74 72 32 |ompt, na|me: str2|
|000005f0| 35 35 3b 20 76 61 72 20 | 66 73 3a 20 46 53 53 70 |55; var |fs: FSSp|
|00000600| 65 63 29 3a 20 4f 53 45 | 72 72 3b 0d 09 09 76 61 |ec): OSE|rr;...va|
|00000610| 72 0d 09 09 09 72 65 70 | 6c 79 3a 20 53 46 52 65 |r....rep|ly: SFRe|
|00000620| 70 6c 79 3b 0d 09 09 09 | 65 72 72 3a 20 4f 53 45 |ply;....|err: OSE|
|00000630| 72 72 3b 0d 09 09 09 6a | 75 6e 6b 6c 6f 6e 67 3a |rr;....j|unklong:|
|00000640| 20 6c 6f 6e 67 49 6e 74 | 3b 0d 09 09 09 6e 72 65 | longInt|;....nre|
|00000650| 70 6c 79 3a 20 53 74 61 | 6e 64 61 72 64 46 69 6c |ply: Sta|ndardFil|
|00000660| 65 52 65 70 6c 79 3b 0d | 09 62 65 67 69 6e 0d 09 |eReply;.|.begin..|
|00000670| 09 65 72 72 20 3a 3d 20 | 75 73 65 72 43 61 6e 63 |.err := |userCanc|
|00000680| 65 6c 65 64 45 72 72 3b | 0d 09 09 69 66 20 68 61 |eledErr;|...if ha|
|00000690| 73 5f 6e 65 77 53 74 64 | 46 69 6c 65 20 74 68 65 |s_newStd|File the|
|000006a0| 6e 20 62 65 67 69 6e 0d | 09 09 09 53 74 61 6e 64 |n begin.|...Stand|
|000006b0| 61 72 64 50 75 74 46 69 | 6c 65 28 70 72 6f 6d 70 |ardPutFi|le(promp|
|000006c0| 74 2c 20 6e 61 6d 65 2c | 20 6e 72 65 70 6c 79 29 |t, name,| nreply)|
|000006d0| 3b 0d 09 09 09 69 66 20 | 6e 72 65 70 6c 79 2e 73 |;....if |nreply.s|
|000006e0| 66 47 6f 6f 64 20 74 68 | 65 6e 20 62 65 67 69 6e |fGood th|en begin|
|000006f0| 0d 09 09 09 09 66 73 20 | 3a 3d 20 6e 72 65 70 6c |.....fs |:= nrepl|
|00000700| 79 2e 73 66 46 69 6c 65 | 3b 0d 09 09 09 09 65 72 |y.sfFile|;.....er|
|00000710| 72 20 3a 3d 20 6e 6f 45 | 72 72 3b 0d 09 09 09 65 |r := noE|rr;....e|
|00000720| 6e 64 3b 0d 09 09 65 6e | 64 20 65 6c 73 65 20 62 |nd;...en|d else b|
|00000730| 65 67 69 6e 0d 09 09 09 | 53 46 50 75 74 46 69 6c |egin....|SFPutFil|
|00000740| 65 28 50 6f 69 6e 74 28 | 24 30 30 36 34 30 30 36 |e(Point(|$0064006|
|00000750| 34 29 2c 20 70 72 6f 6d | 70 74 2c 20 6e 61 6d 65 |4), prom|pt, name|
|00000760| 2c 20 6e 69 6c 2c 20 72 | 65 70 6c 79 29 3b 0d 09 |, nil, r|eply);..|
|00000770| 09 09 69 66 20 72 65 70 | 6c 79 2e 67 6f 6f 64 20 |..if rep|ly.good |
|00000780| 74 68 65 6e 20 62 65 67 | 69 6e 0d 09 09 09 09 66 |then beg|in.....f|
|00000790| 73 2e 6e 61 6d 65 20 3a | 3d 20 72 65 70 6c 79 2e |s.name :|= reply.|
|000007a0| 66 4e 61 6d 65 3b 0d 09 | 09 09 09 65 72 72 20 3a |fName;..|...err :|
|000007b0| 3d 20 47 65 74 57 44 69 | 6e 66 6f 28 72 65 70 6c |= GetWDi|nfo(repl|
|000007c0| 79 2e 76 52 65 66 4e 75 | 6d 2c 20 66 73 2e 76 52 |y.vRefNu|m, fs.vR|
|000007d0| 65 66 4e 75 6d 2c 20 66 | 73 2e 70 61 72 49 44 2c |efNum, f|s.parID,|
|000007e0| 20 6a 75 6e 6b 6c 6f 6e | 67 29 3b 0d 09 09 09 65 | junklon|g);....e|
|000007f0| 6e 64 3b 0d 09 09 65 6e | 64 3b 0d 09 09 49 43 53 |nd;...en|d;...ICS|
|00000800| 74 61 6e 64 61 72 64 50 | 75 74 46 69 6c 65 20 3a |tandardP|utFile :|
|00000810| 3d 20 65 72 72 3b 0d 09 | 65 6e 64 3b 0d 0d 09 66 |= err;..|end;...f|
|00000820| 75 6e 63 74 69 6f 6e 20 | 42 75 74 74 6f 6e 48 6f |unction |ButtonHo|
|00000830| 6f 6b 20 28 69 74 65 6d | 3a 20 69 6e 74 65 67 65 |ok (item|: intege|
|00000840| 72 3b 20 64 6c 67 3a 20 | 44 69 61 6c 6f 67 50 74 |r; dlg: |DialogPt|
|00000850| 72 29 3a 20 69 6e 74 65 | 67 65 72 3b 0d 09 62 65 |r): inte|ger;..be|
|00000860| 67 69 6e 0d 09 09 64 6c | 67 20 3a 3d 20 64 6c 67 |gin...dl|g := dlg|
|00000870| 3b 20 7b 20 55 6e 75 73 | 65 64 20 7d 0d 09 09 69 |; { Unus|ed }...i|
|00000880| 66 20 69 74 65 6d 20 3d | 20 31 31 20 74 68 65 6e |f item =| 11 then|
|00000890| 20 62 65 67 69 6e 0d 09 | 09 09 69 74 65 6d 20 3a | begin..|..item :|
|000008a0| 3d 20 73 66 49 74 65 6d | 4f 70 65 6e 42 75 74 74 |= sfItem|OpenButt|
|000008b0| 6f 6e 3b 0d 09 09 65 6e | 64 3b 0d 09 09 42 75 74 |on;...en|d;...But|
|000008c0| 74 6f 6e 48 6f 6f 6b 20 | 3a 3d 20 69 74 65 6d 3b |tonHook |:= item;|
|000008d0| 0d 09 65 6e 64 3b 0d 0d | 09 66 75 6e 63 74 69 6f |..end;..|.functio|
|000008e0| 6e 20 49 43 53 74 61 6e | 64 61 72 64 47 65 74 46 |n ICStan|dardGetF|
|000008f0| 6f 6c 64 65 72 20 28 76 | 61 72 20 66 73 3a 20 46 |older (v|ar fs: F|
|00000900| 53 53 70 65 63 3b 20 76 | 61 72 20 64 69 72 49 44 |SSpec; v|ar dirID|
|00000910| 3a 20 6c 6f 6e 67 49 6e | 74 29 3a 20 4f 53 45 72 |: longIn|t): OSEr|
|00000920| 72 3b 0d 09 09 76 61 72 | 0d 09 09 09 65 72 72 3a |r;...var|....err:|
|00000930| 20 4f 53 45 72 72 3b 0d | 09 09 09 74 79 70 65 6c | OSErr;.|...typel|
|00000940| 69 73 74 3a 20 53 46 54 | 79 70 65 4c 69 73 74 3b |ist: SFT|ypeList;|
|00000950| 0d 09 09 09 63 70 62 3a | 20 43 49 6e 66 6f 50 42 |....cpb:| CInfoPB|
|00000960| 52 65 63 3b 0d 09 09 09 | 72 65 70 6c 79 3a 20 53 |Rec;....|reply: S|
|00000970| 46 52 65 70 6c 79 3b 0d | 09 09 09 6a 75 6e 6b 6c |FReply;.|...junkl|
|00000980| 6f 6e 67 3a 20 6c 6f 6e | 67 49 6e 74 3b 0d 09 09 |ong: lon|gInt;...|
|00000990| 09 6e 72 65 70 6c 79 3a | 20 53 74 61 6e 64 61 72 |.nreply:| Standar|
|000009a0| 64 46 69 6c 65 52 65 70 | 6c 79 3b 0d 09 62 65 67 |dFileRep|ly;..beg|
|000009b0| 69 6e 0d 09 09 65 72 72 | 20 3a 3d 20 75 73 65 72 |in...err| := user|
|000009c0| 43 61 6e 63 65 6c 65 64 | 45 72 72 3b 0d 09 09 69 |Canceled|Err;...i|
|000009d0| 66 20 68 61 73 5f 6e 65 | 77 53 74 64 46 69 6c 65 |f has_ne|wStdFile|
|000009e0| 20 74 68 65 6e 20 62 65 | 67 69 6e 0d 09 09 09 53 | then be|gin....S|
|000009f0| 74 61 6e 64 61 72 64 47 | 65 74 46 6f 6c 64 65 72 |tandardG|etFolder|
|00000a00| 28 50 6f 69 6e 74 28 24 | 30 30 36 34 30 30 36 34 |(Point($|00640064|
|00000a10| 29 2c 20 27 27 2c 20 6e | 72 65 70 6c 79 29 3b 0d |), '', n|reply);.|
|00000a20| 09 09 09 69 66 20 6e 72 | 65 70 6c 79 2e 73 66 47 |...if nr|eply.sfG|
|00000a30| 6f 6f 64 20 74 68 65 6e | 20 62 65 67 69 6e 0d 09 |ood then| begin..|
|00000a40| 09 09 09 66 73 20 3a 3d | 20 6e 72 65 70 6c 79 2e |...fs :=| nreply.|
|00000a50| 73 66 46 69 6c 65 3b 0d | 09 09 09 09 65 72 72 20 |sfFile;.|....err |
|00000a60| 3a 3d 20 6e 6f 45 72 72 | 3b 0d 09 09 09 65 6e 64 |:= noErr|;....end|
|00000a70| 3b 0d 09 09 65 6e 64 20 | 65 6c 73 65 20 62 65 67 |;...end |else beg|
|00000a80| 69 6e 0d 09 09 09 74 79 | 70 65 4c 69 73 74 5b 30 |in....ty|peList[0|
|00000a90| 5d 20 3a 3d 20 4f 53 54 | 79 70 65 28 30 29 3b 20 |] := OST|ype(0); |
|00000aa0| 7b 20 6e 75 6d 54 79 70 | 65 73 3d 30 20 64 6f 65 |{ numTyp|es=0 doe|
|00000ab0| 73 6e 27 74 20 73 65 65 | 6d 20 74 6f 20 73 74 6f |sn't see|m to sto|
|00000ac0| 70 20 66 69 6c 65 73 20 | 66 72 6f 6d 20 62 65 69 |p files |from bei|
|00000ad0| 6e 67 20 64 69 73 70 6c | 61 79 65 64 20 7d 0d 09 |ng displ|ayed }..|
|00000ae0| 09 09 53 46 50 47 65 74 | 46 69 6c 65 28 50 6f 69 |..SFPGet|File(Poi|
|00000af0| 6e 74 28 24 30 30 36 34 | 30 30 36 34 29 2c 20 27 |nt($0064|0064), '|
|00000b00| 27 2c 20 6e 69 6c 2c 20 | 31 2c 20 40 74 79 70 65 |', nil, |1, @type|
|00000b10| 4c 69 73 74 2c 20 40 42 | 75 74 74 6f 6e 48 6f 6f |List, @B|uttonHoo|
|00000b20| 6b 2c 20 72 65 70 6c 79 | 2c 20 31 35 30 30 2c 20 |k, reply|, 1500, |
|00000b30| 6e 69 6c 29 3b 0d 09 09 | 09 69 66 20 72 65 70 6c |nil);...|.if repl|
|00000b40| 79 2e 67 6f 6f 64 20 74 | 68 65 6e 20 62 65 67 69 |y.good t|hen begi|
|00000b50| 6e 0d 09 09 09 09 65 72 | 72 20 3a 3d 20 47 65 74 |n.....er|r := Get|
|00000b60| 57 44 69 6e 66 6f 28 72 | 65 70 6c 79 2e 76 52 65 |WDinfo(r|eply.vRe|
|00000b70| 66 4e 75 6d 2c 20 66 73 | 2e 76 52 65 66 4e 75 6d |fNum, fs|.vRefNum|
|00000b80| 2c 20 66 73 2e 70 61 72 | 49 44 2c 20 6a 75 6e 6b |, fs.par|ID, junk|
|00000b90| 6c 6f 6e 67 29 3b 0d 09 | 09 09 65 6e 64 3b 20 28 |long);..|..end; (|
|00000ba0| 2a 20 69 66 20 2a 29 0d | 09 09 65 6e 64 3b 0d 09 |* if *).|..end;..|
|00000bb0| 09 69 66 20 65 72 72 20 | 3d 20 6e 6f 45 72 72 20 |.if err |= noErr |
|00000bc0| 74 68 65 6e 20 62 65 67 | 69 6e 0d 09 09 09 65 72 |then beg|in....er|
|00000bd0| 72 20 3a 3d 20 46 53 70 | 47 65 74 43 61 74 49 6e |r := FSp|GetCatIn|
|00000be0| 66 6f 28 66 73 2c 20 2d | 31 2c 20 63 70 62 29 3b |fo(fs, -|1, cpb);|
|00000bf0| 0d 09 09 09 69 66 20 65 | 72 72 20 3d 20 6e 6f 45 |....if e|rr = noE|
|00000c00| 72 72 20 74 68 65 6e 20 | 62 65 67 69 6e 0d 09 09 |rr then |begin...|
|00000c10| 09 09 66 73 2e 70 61 72 | 49 44 20 3a 3d 20 63 70 |..fs.par|ID := cp|
|00000c20| 62 2e 69 6f 44 72 50 61 | 72 49 44 3b 0d 09 09 09 |b.ioDrPa|rID;....|
|00000c30| 09 64 69 72 49 44 20 3a | 3d 20 63 70 62 2e 69 6f |.dirID :|= cpb.io|
|00000c40| 44 69 72 49 44 3b 0d 09 | 09 09 65 6e 64 3b 20 28 |DirID;..|..end; (|
|00000c50| 2a 20 69 66 20 2a 29 0d | 09 09 65 6e 64 3b 0d 09 |* if *).|..end;..|
|00000c60| 09 49 43 53 74 61 6e 64 | 61 72 64 47 65 74 46 6f |.ICStand|ardGetFo|
|00000c70| 6c 64 65 72 20 3a 3d 20 | 65 72 72 3b 0d 09 65 6e |lder := |err;..en|
|00000c80| 64 3b 0d 0d 65 6e 64 2e | 00 00 00 00 00 00 00 00 |d;..end.|........|
|00000c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000d10| 69 74 6c 65 20 28 6e 61 | 6d 65 3a 20 53 74 72 32 |itle (na|me: Str2|
|00000d20| 35 35 29 3b 0d 09 09 09 | 76 61 72 0d 09 09 09 09 |55);....|var.....|
|00000d30| 10 49 43 53 74 61 6e 64 | 61 72 64 46 69 6c 65 2e |.ICStand|ardFile.|
|00000d40| 70 53 02 00 00 00 54 45 | 58 54 43 57 49 45 00 00 |pS....TE|XTCWIE..|
|00000d50| 00 00 54 45 58 54 43 57 | 49 45 00 00 01 04 00 80 |..TEXTCW|IE......|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 aa 8f ab d6 00 00 | 0c 08 00 00 01 9a 69 74 |........|......it|
|00000d80| 65 6d 54 79 70 65 3a 20 | 69 6e 74 65 67 65 72 3b |emType: |integer;|
|00000d90| 0d 09 09 09 09 69 74 65 | 6d 48 61 6e 64 6c 65 3a |.....ite|mHandle:|
|00000da0| 20 68 61 6e 64 6c 65 3b | 0d 09 09 09 09 69 74 65 | handle;|.....ite|
|00000db0| 6d 52 65 63 74 3a 20 72 | 65 63 74 3b 0d 09 09 09 |mRect: r|ect;....|
|00000dc0| 09 70 3a 20 69 6e 74 65 | 67 65 72 3b 0d 09 09 62 |.p: inte|ger;...b|
|00000dd0| 65 67 69 6e 0d 09 09 09 | 69 66 20 67 43 75 72 72 |egin....|if gCurr|
|00000de0| 65 6e 74 53 65 6c 65 63 | 74 65 64 46 6f 6c 64 65 |entSelec|tedFolde|
|00000df0| 72 20 3c 3e 20 6e 61 6d | 65 20 74 68 65 6e 20 62 |r <> nam|e then b|
|00000e00| 00 00 00 48 00 09 47 65 | 6e 65 76 61 00 00 00 00 |...H..Ge|neva....|
|00000e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e20| 00 00 00 00 00 00 00 03 | 00 02 00 88 00 18 01 d9 |........|........|
|00000e30| 02 77 00 88 00 18 01 d9 | 02 77 ae 0e ab 31 00 00 |.w......|.w...1..|
|00000e40| 0a ab 00 00 0a ae 00 00 | 08 f8 01 00 00 00 00 04 |........|........|
|00000e50| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|00000e60| 00 00 00 46 00 65 49 d0 | 10 e6 00 00 00 1c 00 46 |...F.eI.|.......F|
|00000e70| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000e80| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00000e90| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|00000ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+