[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to follow 80 Column format in Lua
- From: Petite Abeille <petite.abeille@...>
- Date: Thu, 9 Feb 2012 10:35:14 +0100
On Feb 9, 2012, at 10:23 AM, rahul sharma wrote:
> I agree with LHF. I don't want the string to be broken down in output. Only
> while coding, I want to follow the 80 column format.
Ah, ok...
Then simply concatenate your strings:
print
(
"Case: (Flow_Entry=Nil and direction=SERVER_TO_CLIENT): " ..
"Wrong packet received. Flow_entry not there for flow and " ..
"packet received from " ..
"server."
)
> Case: (Flow_Entry=Nil and direction=SERVER_TO_CLIENT): Wrong packet received. Flow_entry not there for flow and packet received from server.
Or use format:
print
(
( '%s%s%s%s' ):format
(
"Case: (Flow_Entry=Nil and direction=SERVER_TO_CLIENT): ",
"Wrong packet received. Flow_entry not there for flow and ",
"packet received from ",
"server."
)
)
Whatever fits your need.
P.S.
80 columns format?!? How quaint :D