Reply to Re: Dink Won't Freeze During Intro
If you don't have an account, just leave the password field blank.
So much people repeat this error ( the "{" and "}").
If I could recommend a good practice, it would be to:
- After writing the usual "void main" or similar, to immediately put the "{" and "}", and THEN writing between them.
Example:
void main (void)
{
//write here
}
- Same for other situations, like "ifs", even if you have not write anything on them.
Example
...
{
if (&A==0)
{
if (&B==1)
{
if (&C==2)
{
}
}
}
}
This method really helps to avoid getting those unfindable problems caused by missing braces (very common to people that is learning to make a DMod, as I see).
If I could recommend a good practice, it would be to:
- After writing the usual "void main" or similar, to immediately put the "{" and "}", and THEN writing between them.
Example:
void main (void)
{
//write here
}
- Same for other situations, like "ifs", even if you have not write anything on them.
Example
...
{
if (&A==0)
{
if (&B==1)
{
if (&C==2)
{
}
}
}
}
This method really helps to avoid getting those unfindable problems caused by missing braces (very common to people that is learning to make a DMod, as I see).