resource(301) array { $"41" }; resource(302) array { $"40" $"41" }; resource(303) array { $"42", $"43" }; resource(304) array { }; resource(305) array; //resource(306) { }; // syntax error //resource(307) { $"40" }; // syntax error //resource(308) array { 100, }; // syntax error resource(310) array { 1234, 5678 }; resource(311) array { (int16) 1234 }; resource(312) array { "wassup" }; resource(313) array { (string) "wassup" }; resource(320) #'CSTR' array { "wassup" }; resource(321) (#'CSTR') array { "wassup" }; resource(322) (buffer) array { "hello" }; resource(323) (raw) array { "there" }; //resource(324) (string) array { "wassup" }; // invalid cast //resource(325) (#'CSTR' string) array { "wassup" }; // invalid cast resource(330) array { "w00t", "dude" }; resource(331) #'CSTR' array { "w00t", "dude" }; resource(332) #'CSTR' array { "blah", "" }; resource(333) #'CSTR' array { "w00t" "dude" }; resource(334) #'CSTR' array { "blah" "" }; resource(335) array { 1234, "text", true, $"4041", 3.14e-1 }; resource(336) #'LLNG' array { (int64) 1234 }; // decompiles to (int64)1234 // The decompiler should not turn this back into a string, because // it contains a non-human-readable character. resource(337) array { "hey\0x01there" }; // Should decompile to $"405051416070" resource(340) array { $"40", array { $"50", $"51" }, $"41", array { $"60", array { $"70" }} }; resource(341) array { $"40", message { "field" = "value" }}; enum { R_BeOSBitmap = 100, R_Icon = 100, R_Cursor = 100, }; resource(1) #'PNG ' array { $"89504E470D0A1A0A0000000D49484452000000100000001008060000001FF3FF" $"61000000096F464673000000000000000000DA2AB6CE00000009704859730000" $"0FA000000FA001A06A8C770000019E49444154789CA593BF6BDB4018861FFD58" $"8E8B34F51FE812E3D164C968E3C94BF0D041A55BC0244B372BD666BC092BD0B5" $"2590ADD44307378BA7108F598247932CFD07324939B4482883CFE2126208E499" $"8EE37DBFFB78EFFBACD17084499CC427401B686569DA00F07CFF1E5801CB288C" $"7E997A6B5B204EE21670A6940AA494BC85520A29E50C984661B402704D33103C" $"3E557CFFF18FDB878CBC7400104EC9E1BEC778D0454A02ED994661B4B275F133" $"20B8BCBAA317CEB959E7E4A50B5880455EBADCAC737AE19CCBAB3B80407BB0AA" $"AA3A514AFD7C7CAAE885736DDCF0FF7700C0E76FB3FA4E38058BA4CFA73D0B29" $"E5A90DB4A5944C2EAE5F987791972E938B6B744E6D176801DC3E64DB486ACC97" $"4D365A005A6E96A60DCFF7EBC05EB7FF56A1AD364BD386CD0E76BDFE1A5B0F09" $"C229DF6530B59EEFDFDB6C268CC37DEFDD050CEDCA06964A29C6832EC2296A91" $"998179164EC178D0452905B0B446C3117112FF410FD2F9DFF5CEEF144EC1F04B" $"93E3A303805914465FB7214E81D9F1D1018BA44FA72974371550219C824E53B0" $"48FAB5597B3EBE4CD647D7F919F31AB8B0697BD6410000000049454E44AE4260" $"82" }; resource(R_Cursor) #'CURS' array { $"1001070707C0183027C859345014A10AA00AB45AA00AA10A5014593427C81830" $"07C0000007C01FF03FF8793C701CE10EE00EF45EE00EE10E701C793C3FF81FF0" $"07C00000" }; resource(R_Icon) #'ICON' array { $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" $"FFFFFFFFF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FFFFFFFFFFFFFFFFFF" $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" $"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" }; resource(350) #'CSTR' import "import.txt"; resource(351) #'CSTR' array import "import.txt"; resource(352) #'CSTR' array { array import "import.txt", array import "import.txt" }; resource(353) #'CSTR' array { import "import.txt" }; type #'CSTR' import_t { array field1 = array import "import.txt", array field2 }; resource(354) import_t; resource(355) import_t { field1 = array { "a" }, field2 = array { "b" } }; resource(356) import_t { field2 = array { "-booh" } }; //resource(359) #'CSTR' array import "does-not-exist.txt";