(Require) syntax

Why is it that some examples show “require” being used without parentheses and some show it with them?

[lua]local openfeint = require “openfeint”[/lua]
and
[lua]local ui = require(“ui”)[/lua]

Is there a difference? [import]uid: 1560 topic_id: 4541 reply_id: 304541[/import]

I don’t think there’s a difference. At first I was using the first syntax, but then I switched to the second syntax because it looked cleaner to me. I didn’t change anything in the modules at all, just the code requiring them. [import]uid: 12108 topic_id: 4541 reply_id: 14306[/import]

It’s a Lua thing.

There is a special case when a function has only one argument and that argument is a literal string or table then the brackets are optional. [import]uid: 9371 topic_id: 4541 reply_id: 14348[/import]