/ MacWorld 2003 July
/ Macworld_2003-07.iso / Data / Software / Reviews / REALbasicMacOSX.sit / REALbasic 5.1 Mac OS X / IDE Extras / Templates / Compiler Directives / Conditional Compilation.rsrc ![]() | next > |
MacOS Resource Fork | 2002-03-13 | 883 b |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
100% | dexvert | MacOS Resource Fork (archive/rsrc) | magic | Supported |
10% | dexvert | Jesper Olsen Module (music/jesperOlsen) | magic | Supported |
1% | dexvert | BeOS Resource Data (archive/beOSResourceData) | ext | Unsupported |
1% | dexvert | AppleSingle (archive/appleSingle) | fallback | Supported |
100% | file | AppleDouble encoded Macintosh file | default | |
99% | file | data | default | |
56% | TrID | Mac AppleDouble encoded | default | |
28% | TrID | TTComp archive compressed (bin-2K) | default (weak) | |
14% | TrID | MacBinary 1 | default (weak) | |
100% | lsar | AppleSingle | default | |
100% | gt2 | MAC Bilddatei | default (weak) |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 16 07 00 02 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 02 00 00 00 09 00 00 |........|........|
|00000020| 00 32 00 00 00 20 00 00 | 00 02 00 00 00 52 00 00 |.2... ..|.....R..|
|00000030| 03 21 63 6c 70 74 64 72 | 61 67 01 00 00 00 00 00 |.!clptdr|ag......|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 01 00 00 00 | 02 db 00 00 01 db 00 00 |........|........|
|00000060| 00 46 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.F......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 01 b3 20 20 | 2f 2f 20 43 6f 6e 64 69 |...... |// Condi|
|00000160| 74 69 6f 6e 61 6c 6c 79 | 20 63 6f 6d 70 69 6c 65 |tionally| compile|
|00000170| 20 73 6f 6d 65 20 63 6f | 64 65 20 62 61 73 65 64 | some co|de based|
|00000180| 20 6f 6e 20 61 20 42 6f | 6f 6c 65 61 6e 20 63 6f | on a Bo|olean co|
|00000190| 6e 73 74 61 6e 74 2e 0d | 20 20 23 49 66 20 54 61 |nstant..| #If Ta|
|000001a0| 72 67 65 74 4d 61 63 4f | 53 0d 20 20 23 49 66 20 |rgetMacO|S. #If |
|000001b0| 54 61 72 67 65 74 43 61 | 72 62 6f 6e 0d 20 20 44 |TargetCa|rbon. D|
|000001c0| 65 63 6c 61 72 65 20 46 | 75 6e 63 74 69 6f 6e 20 |eclare F|unction |
|000001d0| 53 70 65 61 6b 53 74 72 | 69 6e 67 20 6c 69 62 20 |SpeakStr|ing lib |
|000001e0| 20 22 43 61 72 62 6f 6e | 4c 69 62 22 20 28 53 70 | "Carbon|Lib" (Sp|
|000001f0| 65 61 6b 53 74 72 69 6e | 67 20 61 73 20 70 73 74 |eakStrin|g as pst|
|00000200| 72 69 6e 67 29 20 61 73 | 20 20 49 6e 74 65 67 65 |ring) as| Intege|
|00000210| 72 0d 20 20 23 45 6c 73 | 65 0d 20 20 44 65 63 6c |r. #Els|e. Decl|
|00000220| 61 72 65 20 46 75 6e 63 | 74 69 6f 6e 20 53 70 65 |are Func|tion Spe|
|00000230| 61 6b 53 74 72 69 6e 67 | 20 6c 69 62 20 20 22 53 |akString| lib "S|
|00000240| 70 65 65 63 68 4c 69 62 | 22 20 28 53 70 65 61 6b |peechLib|" (Speak|
|00000250| 53 74 72 69 6e 67 20 61 | 73 20 70 73 74 72 69 6e |String a|s pstrin|
|00000260| 67 29 20 61 73 20 20 49 | 6e 74 65 67 65 72 0d 20 |g) as I|nteger. |
|00000270| 20 23 45 6e 64 69 66 20 | 20 2f 2f 20 65 6e 64 20 | #Endif | // end |
|00000280| 6f 66 20 23 49 66 20 54 | 61 72 67 65 74 43 61 72 |of #If T|argetCar|
|00000290| 62 6f 6e 0d 20 20 72 65 | 73 75 6c 74 20 3d 20 53 |bon. re|sult = S|
|000002a0| 70 65 61 6b 53 74 72 69 | 6e 67 28 73 29 0d 20 20 |peakStri|ng(s). |
|000002b0| 23 45 6c 73 65 0d 20 20 | 4d 73 67 42 6f 78 20 22 |#Else. |MsgBox "|
|000002c0| 53 70 65 65 63 68 20 69 | 73 20 73 75 70 70 6f 72 |Speech i|s suppor|
|000002d0| 74 65 64 20 6f 6e 6c 79 | 20 6f 6e 20 4d 61 63 73 |ted only| on Macs|
|000002e0| 21 22 0d 20 20 23 45 6e | 64 69 66 20 20 2f 2f 20 |!". #En|dif // |
|000002f0| 65 6e 64 20 6f 66 20 23 | 49 66 20 54 61 72 67 65 |end of #|If Targe|
|00000300| 74 4d 61 63 4f 53 0d 20 | 20 00 00 00 20 00 00 00 |tMacOS. | ... ...|
|00000310| 01 00 00 00 00 00 00 00 | 00 00 00 00 01 54 45 58 |........|.....TEX|
|00000320| 54 00 00 01 00 00 00 00 | 00 00 00 00 00 00 00 01 |T.......|........|
|00000330| 00 00 00 02 db 00 00 01 | db 00 00 00 46 00 2d 00 |........|....F.-.|
|00000340| 98 01 43 00 00 00 1c 00 | 46 00 01 54 45 58 54 00 |..C.....|F..TEXT.|
|00000350| 00 00 12 64 72 61 67 00 | 00 00 1e 01 00 ff ff 00 |...drag.|........|
|00000360| 00 00 00 01 a1 d6 b4 00 | 80 ff ff 00 00 01 b7 01 |........|........|
|00000370| a1 d6 b0 | |... | |
+--------+-------------------------+-------------------------+--------+--------+