Quote from: Pyromanik;1337439not true functions.yes they are, you need to check your definition of a function.
not true functions.
Top Geary - 27th May 2016 at 12:10 AMI've learnt to ignore when you say derogatory things to me
I know a little actionscript.Enough to know that I wouldn't waste any more time on anything flash.It's based on javascript I think, learn that, much more useful in terms of future commercial use.You should only need the basics for flash comics either way
and @Tiwa, Flash is being obsoleted now?It seems as alive as it's always been, Explain please?
Must be different in your language.Lambda forms can be used wherever function objects are required. They are syntactically restricted to a single expression.http://docs.python.org/py3k/tutorial/controlflow.html#lambda-formsThough technically you are correct I guess, semantically they're the same.Python is also batshit crazy, allowing nested functions :/I guess most high level scripting languages do.
Quote from: Tiwaking!;1336788The next challenge is:GetSomeChessPieces have must have customisable icons. This way you can make the different pieces to be the avatars of people from the forums.Movement rules are not too important at the moment.Challenge accepted.It will download your avatar from GetSomeforums, based on your profile ID. Now I have to get that chess part working.
The next challenge is:GetSomeChessPieces have must have customisable icons. This way you can make the different pieces to be the avatars of people from the forums.Movement rules are not too important at the moment.
The basics is all I'm really wanting to learn. For now, Atleast.Although I do / did plan on making some srs-buisness flash games with 2d water physics etc.and @Tiwa, Flash is being obsoleted now?It seems as alive as it's always been, Explain please? Btw guys i'm not planning on doing this for a career, unless there is some data job that requires programming. Every time I ask a electrician in data, they say "Yes theirs programming" but it doesn't seem to be actual code..
BASIC would be toddlerspeak
private void button2_Click(object sender, EventArgs e) { public int AttackValue; AttackValue =int att.Value }
private void btnCalculateValue(){int attackValue=(int)att.getValue();}
private void btnCalculateValue(){try{int attackValue=Integer.parseInt(att.getValue());//for string values}catch(Exception eek){}//not a number or a string you complete moron}
public void Method(){ int localVariable; localVariable = (int) att.Value; //Not sure if the explicit cast is required here, as there is no context.}
public class MyClass{ public int SomeClassVariable; public void SomeMethod() { SomeClassVariable = 1; }}
int number;bool isNumber = Int32.TryParse(att.Value, out number);
C#Code: [Select]int number;bool isNumber = Int32.TryParse(att.Value, out number);
I do not write programs to fail by accident.If they fail, it is the users fault and you should yell at them until they leave the immediate area.
if(!isNumber){ YellAtuser();}