warning 217: loose indentation
#1

how do i fix a loose indentation
thanks
Reply
#2

Requirements
-Brain
-Pawno

Step one..
Indent your code

Step two..
compile your new properly intented code.

Problem fixed
Reply
#3

Quote:
Originally Posted by [HKS
dlegend ]
how do i fix a loose indentation
By indenting...?
Reply
#4

Quote:
Originally Posted by Mikep.
Quote:
Originally Posted by [HKS
dlegend ]
how do i fix a loose indentation
By indenting...?
PLS, HOW TO INDENTING?[/noobspeak]
Reply
#5

but to wat i can see it is indented

F:\Users\\Desktop\workin on porno\V-Admin.2.pwn(516) : warning 217: loose indentation
F:\Users\\Desktop\workin on porno\V-Admin.2.pwn(536) : warning 217: loose indentation
F:\Users\\Desktop\workin on porno\V-Admin.2.pwn(2047) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Warnings.

514 format(chat, sizeof(chat), "\n[%d:%d:%d]%s: %s", hour, minute, second, playrname, text);
515 ChatLog(chat);
516 {
517 switch (Lang[playerid])
518 {




Reply
#6

You need to INDENT your code.

Ugh
Reply
#7

Indent
Quote:

set in from the margin; "Indent the paragraphs of a letter"
cut or tear along an irregular line so that the parts can later be matched for authentication; "indent the documents"
make a depression into; "The bicycle dented my car"
notch the edge of or make jagged
an order for goods to be exported or imported
indenture: bind by or as if by indentures, as of an apprentice or servant; "an indentured servant"
indentation: the space left between the margin and the start of an indented line

Reply
#8

just use TAB to increase the space and done! WOLAH
Reply
#9

Quote:
Originally Posted by SanMarinoRP
just use TAB to increase the space and done! WOLAH
Mm. You also need to make sure you put the right amount of tabs -.o
Reply
#10

If your lazy and dont know where the Tab button is, or have a fear of using it (nabs)

then put

#pragma tabsize 0

at the top of your pawno file..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)