Created
January 4, 2014 03:28
-
-
Save jerstlouis/8251230 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "ecere" | |
struct SS | |
{ | |
int x; | |
}; | |
void Test() | |
{ | |
struct SS *p; | |
p = new SS[10]; | |
p[2].x = 5; | |
} | |
class Form1 : Window | |
{ | |
caption = "Form1"; | |
background = formColor; | |
borderStyle = sizable; | |
hasMaximize = true; | |
hasMinimize = true; | |
hasClose = true; | |
clientSize = { 632, 438 }; | |
Button button1 | |
{ | |
this, caption = "button1", position = { 560, 144 }; | |
bool NotifyClicked(Button button, int x, int y, Modifiers mods) | |
{ | |
Test(); | |
return true; | |
} | |
}; | |
} | |
Form1 form1 {}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment