HI
is it possible to use FUNCTIONS with some variables in PBP?
something like this: (that is used in C++ or C languages)
function_name(var_1,var_2,var_3)
{
body of function...
}
with best regards.
HI
is it possible to use FUNCTIONS with some variables in PBP?
something like this: (that is used in C++ or C languages)
function_name(var_1,var_2,var_3)
{
body of function...
}
with best regards.
Yes it's possible but it's not PBP native. It's called a macro.
Have a look to MPASM assembler>> Macro language. This should give you some pointer.
And then have a look to
http://www.picbasic.co.uk/forum/show...ighlight=macro
http://www.picbasic.co.uk/forum/show...ighlight=macro
http://www.picbasic.co.uk/forum/show...ighlight=macro
http://www.picbasic.co.uk/forum/show...ighlight=macro
http://www.picbasic.co.uk/forum/show...ighlight=macro
http://www.picbasic.co.uk/forum/show...ighlight=macro
This should be enough to start
HTH
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
thank you , but in this manner i need to know "assembly language" and ...
i want to write my codes only with PBP not assembly language.
best ragards.
well, unless Melabs decide to add it, you'll have to deal with the above. I agree, it might looks hard to do, but once you're familiar with, it's as easy as ABC.
Why not posting what you want to do? Sure we could suggest you something.
HEY! don't be afraid... we are here to help anyway
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Their site is still on air? The answered questions? The latest 2.47 version?
Ioannis
Bookmarks