if (&crap == 1 && &morecrap == 1) ???
Ok, at first I thought dink c supported if (&var == 1 && &bar == 1) statements(?) but then I wasn't sure, so I'm asking now:
Has anyone ever tried to make something like this work? Or am I wasting my precious time?
Has anyone ever tried to make something like this work? Or am I wasting my precious time?
: Ok, at first I thought dink c supported if (&var == 1 && &bar == 1) statements(?) but then I wasn't sure, so I'm asking now:
: Has anyone ever tried to make something like this work? Or am I wasting my precious time?
I don't think that would work, instead, you would use...
if(&crap == 1)
{
if(&morecrap == 1)
{
bluh
}
if(&morecrap == 0)
{
bluh
}
}
or something like that, I think that'd work, that is if I know what you're talking about... I think I do...
: Has anyone ever tried to make something like this work? Or am I wasting my precious time?
I don't think that would work, instead, you would use...
if(&crap == 1)
{
if(&morecrap == 1)
{
bluh
}
if(&morecrap == 0)
{
bluh
}
}
or something like that, I think that'd work, that is if I know what you're talking about... I think I do...
hmmm...it'd be interesting to know HOW closely based on C dinkC is... the || operator could be really usefull too...
when you find out, tell us, ok??
thanks.
when you find out, tell us, ok??
thanks.
: hmmm...it'd be interesting to know HOW closely based on C dinkC is... the || operator could be really usefull too...
: when you find out, tell us, ok??
: thanks.
you cannot do it.
: when you find out, tell us, ok??
: thanks.
you cannot do it.
: : Ok, at first I thought dink c supported if (&var == 1 && &bar == 1) statements(?) but then I wasn't sure, so I'm asking now:
: : Has anyone ever tried to make something like this work? Or am I wasting my precious time?
: I don't think that would work, instead, you would use...
: if(&crap == 1)
: {
: if(&morecrap == 1)
: {
: bluh
: }
: if(&morecrap == 0)
: {
: bluh
: }
: }
: or something like that, I think that'd work, that is if I know what you're talking about... I think I do...
Ok, I knew how to do that, but thanks anyway.
It's just that this makes my scripts huge and hard to oversee..
Anyway, you could've tried it
: : Has anyone ever tried to make something like this work? Or am I wasting my precious time?
: I don't think that would work, instead, you would use...
: if(&crap == 1)
: {
: if(&morecrap == 1)
: {
: bluh
: }
: if(&morecrap == 0)
: {
: bluh
: }
: }
: or something like that, I think that'd work, that is if I know what you're talking about... I think I do...
Ok, I knew how to do that, but thanks anyway.
It's just that this makes my scripts huge and hard to oversee..
Anyway, you could've tried it
Unfortunatly, he is right. Dink only supports nested loops and not complex if statments...I also wish I caould use for() loops in it but oh well.
--WC
--WC
: hmmm...it'd be interesting to know HOW closely based on C dinkC is... the || operator could be really usefull too...
: when you find out, tell us, ok??
: thanks.
Instead of just making to if statments with whatever code I need run in either case, I sometimes do this to simulate an OR.
int &value = 0;
if (&crap == 1)
&value = 1;
if (&morecrap == 1)
&value = 1;
if (&value == 1)
{
//do stuff
}
This is particularly worth doing if "do stuff" is many lines long.
: when you find out, tell us, ok??
: thanks.
Instead of just making to if statments with whatever code I need run in either case, I sometimes do this to simulate an OR.
int &value = 0;
if (&crap == 1)
&value = 1;
if (&morecrap == 1)
&value = 1;
if (&value == 1)
{
//do stuff
}
This is particularly worth doing if "do stuff" is many lines long.
When the heck you going ot release a d-mod? Stop producing movies and produce some d-mods!
--WC
--WC
: When the heck you going ot release a d-mod? Stop producing movies and produce some d-mods!
: --WC
Hey, I just started working on the Dink Hotel again, leave me alone It's still going to be the funniest d-mod ever packed full (or half full) with never before seen stuff and things like that..
But I have little time and I need to get back in the routine.
Speaking of that, when is _your_ next d-mod coming out?
: --WC
Hey, I just started working on the Dink Hotel again, leave me alone It's still going to be the funniest d-mod ever packed full (or half full) with never before seen stuff and things like that..
But I have little time and I need to get back in the routine.
Speaking of that, when is _your_ next d-mod coming out?