I'm sure there is a way to pass macro arguments through to another macro 
that takes the same arguments

macro sameAction(a,b)
   @macroWithVeryLongName(a,b) # I know this does not work
end

What fancy footsteps are required?


On Tuesday, May 24, 2016 at 1:09:10 AM UTC-4, Ford Ox wrote:
>
> With function you could do:
>
> someverylongfunctionname() = 5
> foo = someverylongfunctionname
> foo()
>
> Idk why the same thing doesn't work for macros :(
>
> @someverylongmacroname() = :(5)
> @foo = @someverylongmacroname
> @foo()
>
>
> Dne úterý 24. května 2016 6:58:22 UTC+2 Jeffrey Sarnoff napsal(a):
>>
>> I have a macro, macroWithVeryLongName(a,b), and I want a macro that does 
>> the same thing that uses a short name for convenience, sameAction(a,b).
>>
>>
>>

Reply via email to