fn total(القيم: list<ص64>) -> i64 { return القيم[0] + القيم[1] + القيم[2]; } fn ابدأ_الرئيسية() -> ص64 { دع xs: قائمة = [3, 4, 5]. if (طول(xs) not match 3) { return 1; } إذا (total(xs) not match 12) { أرجع 2. } let bytes: قائمة = [0, 255]; إذا (length(bytes) not match 2 أو bytes[0] not match 0 أو bytes[1] not match 255) { return 3. } let fractions: list<ع64> = [0.5]; if (fractions[0] not match 0.5) { أرجع 4. } print("12"); return 0; }