End-To-End Macro: Taekwon Master

Moderator: Moderators

Message
Author
ezza
Developers
Developers
Posts: 109
Joined: 04 Apr 2008, 09:50

Re: End-To-End Macro: Taekwon Master

#31 Post by ezza »

@Mushroom - i know you are in the right side for the basic syntax alert but dont underestimate sli for what he's capable of.

Code: Select all

my ($var, $cond, $val) = $line =~ /^\$([a-zA-Z][a-zA-Z\d]*)?\s+([<>=!~]+?)\s+(.*?)/;
return 0 unless defined $var;
if (exists $varStack{$var}) {
    return cmpr($varStack{$var}, $cond, $val)?1:0
} else {
    return 0
}
This is only the scatches... maybe sli already did the modification untill it meets the perfection (to get the $val value)


p.s: So, I'm guessing that ... what sli wrote is not entirely wrong (in my point of view)

pepinows
Human
Human
Posts: 20
Joined: 15 Aug 2008, 12:39
Noob?: No
Location: Brazil
Contact:

Re: End-To-End Macro: Taekwon Master

#32 Post by pepinows »

sorry sli you failed !
\o> Take it easy! <o/
Be happy D:

ezza
Developers
Developers
Posts: 109
Joined: 04 Apr 2008, 09:50

Re: End-To-End Macro: Taekwon Master

#33 Post by ezza »

pepinows wrote:sorry sli you failed !

Its not entirely failed you moron!?!?! If you dont have something to say... dont speak you stupid f**king retard.



p.s: Yellow card for you!

sli
Perl Monk
Perl Monk
Posts: 810
Joined: 04 Apr 2008, 17:26
Noob?: No

Re: End-To-End Macro: Taekwon Master

#34 Post by sli »

Basically, they got all high and mighty because I accidentally put a variable declaration in the wrong place. I hope they enjoyed it, that's the only time I'm going to publicly screw something up. However, when it was stated that variables are supported in automacros, everyone failed to tell me that everyone except for myself doesn't count call blocks as part of an automacro (which is bullshit, it's within the automacro block). So I wasn't actually wrong, I just had a syntax error I missed and everyone else likes inaccurate terminology.

Oh well. I'm probably gonna clean out the thread, anyway.
cs : ee : realist

pepinows
Human
Human
Posts: 20
Joined: 15 Aug 2008, 12:39
Noob?: No
Location: Brazil
Contact:

Re: End-To-End Macro: Taekwon Master

#35 Post by pepinows »

lol i was just trying to help and he comes like a horse! calling me ****ing noob bla bla bla -.- and he tasted his own medicine /ok \o>

about the failure part, HE FAILED IN PROVE THAT I'm ****ing noob

Sorry for all the problems that i caused :o
\o> Take it easy! <o/
Be happy D:

sli
Perl Monk
Perl Monk
Posts: 810
Joined: 04 Apr 2008, 17:26
Noob?: No

Re: End-To-End Macro: Taekwon Master

#36 Post by sli »

I fail to see how a call block inside an automacro is not an automacro.

Code: Select all

automacro blah {
    base == 10
    call {
        do c base 10!
    }
}
I see two sets of curly braces, there. And one set is inside the other. Therefore, even you people refuse to call it an automacro, syntactically it's still an automacro because it inherits the properties of the parent block.

Code: Select all

sub blah {
    $blah = shift; # pretend it's 2
    {
        # still subroutine code
        $blah = 1;
    }
    print "$blah\n"; # prints 2
}
Same deal. The whole argument came from the fact that apparently neither of you actually know about programming itself on a general scale. Yes, that's different from simply knowing a programming language.
cs : ee : realist

pepinows
Human
Human
Posts: 20
Joined: 15 Aug 2008, 12:39
Noob?: No
Location: Brazil
Contact:

Re: End-To-End Macro: Taekwon Master

#37 Post by pepinows »

i didn't enjoyed ur failure i just warned u that something was wrong /ok

So don't be a horse when speaking to me, maybe we can be friends \o>
\o> Take it easy! <o/
Be happy D:

pranavrules2008
Plain Yogurt
Plain Yogurt
Posts: 52
Joined: 10 Jul 2008, 08:20
Noob?: No

Re: End-To-End Macro: Taekwon Master

#38 Post by pranavrules2008 »

sli wrote:You asshats fucking ruined my thread.
That was beautiful.. Epic.. I'm still in tears after all that laughing.. LOL owww.. my stomach hurts!! uff, uff... hahahahahaha, lol oh the agony of all that laughing!! HAHAHA

Post Reply