//Definitions:
Code:byte string[20];what does the "-12.12" bit do?Code:byte location_list[100][15];
Code:sprintf( location_list[1], "%-12.12s", string );
//Definitions:
Code:byte string[20];what does the "-12.12" bit do?Code:byte location_list[100][15];
Code:sprintf( location_list[1], "%-12.12s", string );
- means to left justify the output
first 12 means to use at least 12 characters in the output
.12 means to show 12 characters after the decimal
cheers thantos