Skip to content

Instantly share code, notes, and snippets.

@jerstlouis
Created January 4, 2014 03:28
Show Gist options
  • Save jerstlouis/8251230 to your computer and use it in GitHub Desktop.
Save jerstlouis/8251230 to your computer and use it in GitHub Desktop.
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