0 Members and 5 Guests are viewing this topic.
Add Darl181s to this language!!!Spoiler For what I'm talking about: Add Gotos. What did you think I was talking about?
Sometimes a while or for loop just doesn't cut it...
//Method: same as a function, it just doesn't return anything //[modifiers] sub [name] ([arguments]) [[ {{ code }} ]] public class Method : Stmt { public Stmt[] Modifiers; public string Name; public Stmt[] Args; public Stmt[] Code; } //Function //[modifiers] [return type] [name] ([arguments]) [[ {{ code }} ]] public class Function : Stmt { public Stmt[] Modifiers; public Type Return; public string Name; public Stmt[] Args; public Stmt[] Code; }
parent While (x)[[{{code}}]]child for()[[{{more code}}]]parent and child runs at the same time and parent will wait for child to end if it reaches the end first.
sync(object)[[{{code}}]]