Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Freyaday

Pages: 1 ... 54 55 [56] 57 58 ... 173
826
Axe / Re: Axe Q&A
« on: September 30, 2011, 10:09:41 am »
Theoretically, it could be abused, but it wouldn't be any more optimized than a regular if statement, just more cluttered and less readable.  I added the ? and ?? as operators specifically to avoid chains of if/while statements like If A:If B:If C:something:End:End:End should just be if A?B?C:something:End.  I don't want to allow intentionally misleading code as legal syntax when there is already a better way to represent it.
Huh.
Actually, Builder, that is not what it would do.
Q?If Blarg
stuff
Q?End
Would execute stuff if Q=0, or, failing that, if Blarg!=0
Key term here is "failing that". If Q=0, Blarg could be infinity (-1, anyone?) or it could be 0, and it wouldn't matter.

827
Humour and Jokes / Re: 9001 signs you're addicted to calcs and Omni
« on: September 30, 2011, 10:04:09 am »
2235:  ;D you tried to use AXE to split wood, and ended up with a damaged calc which you replaced immediately.
2237: You succeeded.

828
The Axe Parser Project / Re: Features Wishlist
« on: September 30, 2011, 10:03:03 am »
Heavier abuse of the ? operators.
I would like to be able to use the ? operators with ANYTHING.
For example Q?Goto Q
Or
Q?If FOO
Stuff
Q?End
(Where FOO is a really, really complicated piece of logic)
Or, horror of horrors,
Q?For(w/e)
Loopy stuff
Q?End

829
Axe / Re: Axe Q&A
« on: September 30, 2011, 12:52:57 am »
Why can't we abuse the ? operators?
I want to be able to do
Q?If blarg
Stuff
Q?End
What exactly would that do? O_o
It would ignore the If statement if Q!=0, executing Stuff

830
Miscellaneous / Re: Why Johnny Can't Code
« on: September 30, 2011, 12:11:52 am »
.FIZZBUZZ
For(Q,1,100)
!If Q^3
Disp "FIZZ"
End
!If Q^5
Disp "BUZZ"
End
If Q^3?Q^5
Disp Q
End
Disp i
End

831
Humour and Jokes / Re: 9001 signs you're addicted to calcs and Omni
« on: September 30, 2011, 12:07:27 am »
2234: Your VAT is so large you can't think of anything adequately humongous to compare it to.

832
Axe / Re: Axe Q&A
« on: September 30, 2011, 12:05:56 am »
Why can't we abuse the ? operators?
I want to be able to do
Q?If blarg
Stuff
Q?End

833
Plains of Existence

834
Good idea.
I was thinking about it for a while and I think I shall add it.  I will, however, have to rewrite my map code anyways, so adding it won't be much of an issue.  Although map size will increase.  Also not sure on the displaying of it.
uh, uh.....Fourscale?

835
Humour and Jokes / Re: 9001 signs you're addicted to calcs and Omni
« on: September 28, 2011, 10:59:09 pm »
2220: When you call your calc "baby", other people just act as if it's normal
2221: It is
2222: For you, at least

836
Humour and Jokes / Re: 9001 signs you're addicted to calcs and Omni
« on: September 28, 2011, 10:42:13 pm »
2216: You don't need to test it; you know it's perfect.
2217: You do anyway. Best practices and all that.

837
Humour and Jokes / Re: 9001 signs you're addicted to calcs and Omni
« on: September 28, 2011, 10:38:10 pm »
2212: You can type on your calculator in the dark.
2214: A full program, in the dark, with one hand.
2215: You can test it in the dark, too

838
Can there be multiple levels of ground?

839
Humour and Jokes / Re: 9001 signs you're addicted to calcs and Omni
« on: September 28, 2011, 09:43:55 pm »
2213: You don't need to type on your calculator

840
News / Re: A New "Wave" of Physics Simulations
« on: September 28, 2011, 04:35:52 pm »
I made a clone of butt's program with massively failing water initialization.
Next up: Learning water physics so I can add actual physics in there! Whee!

Pages: 1 ... 54 55 [56] 57 58 ... 173