Quantcast Bug Report: % Symbol - WoWInterface
Thread Tools Display Modes
Prev Previous Post   Next Post Next
12-05-07, 01:28 PM   #1
Cosmic Cleric
A Deviate Faerie Dragon
Cosmic Cleric's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2005
Posts: 15
Exclamation Bug Report: % Symbol

Hello. Using the latest version of WoW UI Designer. Found a problem with how it parses LUA code.

Specifically, I have this piece of code...

slot  = ( aUnitNumber - 1 ) % 5 + 1;
The "%" symbol is generating an "unexpected symbol" error in the Messages section, and the line on the left side of the editor window that shows the start to end of a function, stops at the line.

Don't know why, but WOW UI Designer doesn't like to see a "%" character in LUA code, which is as far as I know, a valid math symbol in LUA (http://www.lua.org/manual/5.1/manual.html#2.5.1 ).
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Bug Report: % Symbol

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