lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO > Developer Discussions > Lua Programming Help (L)

Reply
Thread Tools Display Modes
  #1  
Unread 05-04-2020, 07:28 PM
Marobs Marobs is offline
The Wary
 
Join Date: May 2020
Posts: 4
In local an error

hi,

i have write my own script in minecraft computercraft, but now i do get a n error with some thing i dont understand.

can some one please help me with this?

in my script on line 23 i have:

local orientations = ("North", "East", "South", "West")

but if i run the script it directly give the error:

line 23, ) expected

but as u see there is one to close it.
so i dont understand why i do get this error.
i looked at the wiki page of computercraft for the lue tables and made the above from the info i did get there.

what is wrong here???
Reply With Quote
  #2  
Unread 05-04-2020, 08:22 PM
Marobs Marobs is offline
The Wary
 
Join Date: May 2020
Posts: 4
found the error

the () had to be {}

so

local orientations = {"North", "East", "South", "West"}
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting a strange error in file Papabard Lua Programming Help (L) 2 11-08-2015 04:36 PM
Error log? Elenil Interface Help (L) 5 02-10-2012 08:55 PM
ChalyInv error vedwed Interface Help (L) 0 11-15-2011 11:21 AM
Help with SortPack Options... get an error?? Bzufa Interface Help (L) 14 06-08-2011 11:11 AM
SVN error The Old One Site help, bugs, suggestions/questions 5 09-28-2010 03:46 PM


All times are GMT -5. The time now is 04:19 PM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | ESOUI | LoTROInterface | MMOUI | Swtorui