Timeline for A "cheating" quine
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 9, 2017 at 17:10 | comment | added | redstarcoder | Thanks @snail'! That's exactly the kind of information I needed to get assimilated in golfing with SmileBASIC! I'll update my answer soon. | |
Jan 9, 2017 at 14:06 | comment | added | snail_ |
FALSE in SB just means 0, because SB doesn't have a boolean type. Conditionals (== != < > <= >= || && ) evaluate to 0 when false and 1 when true (with the exception of || and && which evaluate to 3 when the left term is a string; nobody knows why.) Any nonzero number is truthy, as well as all strings, even empty ones. NaN is always falsy and never equals itself. Arrays can't be compared though. Anyway, my point is, turn FALSE into 0 and save 4 characters. You could probably get away with allowing the loading screen but idk.
|
|
Jan 5, 2017 at 18:11 | history | edited | redstarcoder | CC BY-SA 3.0 |
UTF-8
|
Jan 5, 2017 at 17:36 | history | edited | redstarcoder | CC BY-SA 3.0 |
added 18 characters in body
|
Jan 5, 2017 at 15:31 | history | edited | redstarcoder | CC BY-SA 3.0 |
-2 bytes
|
Jan 5, 2017 at 15:09 | history | answered | redstarcoder | CC BY-SA 3.0 |