Problem description:
loading TWW.dme
loading screen.dmf
codesbysam.dm:710:warning: findText: findText is being phased out; replace with findtextEx
areas.dm:199:error: : empty type name (indentation error?)
TWW.dmb - 1 error, 1 warnings
I know how to fix the indentation error on microsoft office but how can you fix it on the DM?
Indentation errors are either caused by something not "tabbed" over where it should be, or you copy+pasted code from the website (which turns "tabs" into spaces).
The tabbed over could be something as simple as you've defined a proc and the next line matches the same column as your proc. Ex: which should be: |
https://support.microsoft.com/en-us/kb/68048
i think this is why the DM shows the indentation error thing and : /proc/area_contents(var/area/A) |
In response to Maximus_Alex2003
|
|
Maximus_Alex2003 wrote:
Indentation errors are either caused by something not "tabbed" over where it should be, or you copy+pasted code from the website (which turns "tabs" into spaces). how to fix that? |
The bottom two lines aren't indented properly. You want to match their indentation up with name.
Also, there's almost never a case where you are going to find a solution to a compiler error on MSDN. Just saying. |
In response to Maxsteel13
|
|
outside/insideHogwarts As Ter13 stated, these lines are an issue. Notice how var/uid and var/list/ambientsounds don't match with name = "Entrance Hall" ? The error is telling you those lines need to match their correct spot underneath outside/insideHogwarts In this case it looks like you copy+pasted it, because it's not where tab would bring to. /Edit/ Sorry, posted 1 minute too late. |
Can you show the relevant section of your code? Any spreadsheets, clipart, graphs, or databases you have handy would be of service too.