ID:133410
Sep 10 2008, 5:34 am
|
|
Hi is there something like an another website where i can write code neatly like in Dream maker and check for errors? so that i can use it when i dont have access to DM
|
Sep 10 2008, 6:13 am
|
|
You can write code in Notepad and save it as a .dm file. Then take the DM.exe program from your C:\Program Files\BYOND\bin folder and stick it on a floppy disk. You should be able to compile with it and get an error report.
|
In response to Xooxer
|
|
yes.. but im quite messy and got used to having the "verb, proc" etc in blue and compiling it straight away. would be nice to be able to compile without DM.exe
|
In response to Gogeta126
|
|
Um, you can't compile code without a compiler. DM.exe isn't Dream Maker, it's just the command-line compiler. It's only about 20KB, so you could even email it to yourself and have a copy online if you don't want to lug around a floppy (though, BYOND is also online, so....)
Syntax highlighting is available in a variety of text editors. I like TextPad, myself. You'll have to define the highlight for DM code, but that shouldn't be too hard. [edit] Here, I just made this syntax definition file for TextPad so it can highlight DM files. Just save it as dm.syn in the Samples folder in your TextPad install directory. You can then create a new document class (menu->Configue->New Document Class...) and tell TP to use this dm.syn file to highlight files of type *.dm, *.dme, *.dms, *.dmp, *.dmm, *.dmf. Then just open any DM code file in TextPad and it will automatically be highlighted for you. (probably want to adjust the colors to suit your tastes) ; TextPad syntax definitions for BYOND's DM language |