• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] [SOLVED] How fix warning 217: loose indentation without Pragma Syntax?
#1
SOLUTION from:

(2021-05-15, 03:26 PM)AbyssMorgan Wrote: Example of 217 warning

Code:
stock my_function(arg1,arg2){

new something = random(25);

something = arg1 * arg2; //warning loose indentation due to missing tab

return something;

}



stock my_function(arg1,arg2)

{

new something = random(25);

something = arg1 * arg2; //warning loose indentation due to missing tab

return something;

}





Proof title better than problem description :

That means the newbie?code is bad.? Hiding issues doesn't solve them, it just means a newbie ignoring the bugs.

In the mind, i just need to remove the upper tab size from the script margin. But i don't know actually the great for solved all about the warning in pawn compiler?

Sir do you have a pack of module how to fix all of the warnings in the pawn compiler? Please share the module of all warnings is very important to solved the warning.
  Reply
#2
https://en.wikipedia.org/wiki/Indentatio...lman_style
  Reply
#3
Example of 217 warning
Code:
stock my_function(arg1,arg2){
    new something = random(25);
something = arg1 * arg2; //warning loose indentation due to missing tab
    return something;
}

stock my_function(arg1,arg2)
{
    new something = random(25);
something = arg1 * arg2; //warning loose indentation due to missing tab
    return something;
}
  Reply


Forum Jump: