-3

I'm new to lua and I'm trying to print an open curly bracket { in the output screen. I tried these ones:

print "%{"

print "\u123"

print "{{"

And there was no luck, but if I try the close bracket there's no problem and it prints }.

I'm wondering how may I figure it out.

ImAn
  • 1

1 Answers1

1

print "{" Should do the job.

@lhf already sugested.

Eric Chiesse
  • 455
  • 3
  • 8
  • Yes it should work but I find out the reason was somewhere else in the code. A `grep -v "{"` were existed and caused this. – ImAn Dec 01 '17 at 08:57