Timeline for Golf the xᵗʰ root of x
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 16, 2016 at 18:10 | comment | added | Timtech | @CatsAreFluffy tibasicdev.wikidot.com/tokens | |
Mar 5, 2016 at 5:06 | comment | added | lirtosiast |
@flawr The reason Ans is usually accepted is because its value is set by any expression (expressions are separated by : ). Therefore something like 1337:prgmXTHROOT would input 1337, which looks a lot like input via CLAs in a normal language.
|
|
Feb 29, 2016 at 21:34 | comment | added | NinjaBearMonkey | @CatsAreFluffy Yes, but they are two bytes. There are 256 (actually a little less) one-byte tokens. | |
Feb 29, 2016 at 21:30 | comment | added | CalculatorFeline | Question: Are there more than 256 tokens? If so, your byte count is invalid. | |
Feb 26, 2016 at 16:06 | comment | added | Timtech |
What I meant is that Ans is the only way for functions to take input and return output without messing with the global variables (technically Ans is global, but I'm referring to the A , B , etc.)
|
|
Feb 25, 2016 at 22:54 | comment | added | NinjaBearMonkey |
You can vote on the validity of Ans on meta.
|
|
Feb 25, 2016 at 20:59 | comment | added | flawr |
@Timtech Certainly not. There are functions like Input and Prompt .
|
|
Feb 25, 2016 at 5:21 | comment | added | Olathe |
stdin and stdout are text streams, usually for interactive text input and output. Ans is not interactive, unlike some other functions in TI-BASIC, which are interactive.
|
|
Feb 24, 2016 at 22:43 | comment | added | Timtech |
Ans is STDIN/STDOUT for TI-Basic.
|
|
Feb 24, 2016 at 16:08 | comment | added | NinjaBearMonkey | @flawr I can see what you're saying but it seems it's always been done like this. Maybe it warrants a meta post? | |
Feb 24, 2016 at 9:14 | comment | added | flawr |
As far as I am aware ans would count as hardcoding inputs into variables and does not seem to be an accepted input method for code-golf. In that case, please make a full program or a function.
|
|
Feb 23, 2016 at 20:18 | history | edited | NinjaBearMonkey | CC BY-SA 3.0 |
added 173 characters in body
|
Feb 23, 2016 at 16:18 | history | answered | NinjaBearMonkey | CC BY-SA 3.0 |