0 Members and 3 Guests are viewing this topic.
I see, so its mostly default options that this affects. While I disagree that those settings are intuitive defaults in the example tilemapper, I can definitely see situations where it could be useful to provide default settings for options that rarely need changing. There are several ways to do this:A specific ifdef commandA isDefined() commandA "Define if undefined" commandI'm guessing the last one would be most convenient for programmers since it's targeted at default values. One idea for the syntax could be a double store arrow such as 8→→oVar to mean "If Var is not already defined make it 8. But if it was defined, keep it as it was".
In other news, Frey continues kicking unprecedented levels of ass.
Codehacker, Runer knows the difference between pointers and their data, he is remarking upon the fact that A+[XXXX]->A returns an Invalid Token error.
I actually do not know if this exists in Axe, but in BASIC, "" turns off a line. Notice the zero.This would be most helpful in my newest creation, Dodge2.
Quote from: Thundermagnet on January 23, 2012, 06:02:50 pmI actually do not know if this exists in Axe, but in BASIC, "" turns off a line. Notice the zero.This would be most helpful in my newest creation, Dodge2.A slow way to do this is DrawInv Line(X1,Y1,X2,Y2) DrawInvBut it is quite slow
I actually do not know if this exists in Axe, but in BASIC, "line(X1,Y1,X2,Y2,0)" turns off a line. Notice the zero.This would be most helpful in my newest creation, Dodge2.