Making an IDE
Blitz3D Forums/Blitz3D Beginners Area/Making an IDE
| ||
How could I make an IDE like IDEal for BB3D? AJ00200 |
| ||
Maybe you could start off with Schnok? http://www.blitzbasic.com/Community/posts.php?topic=62516 |
| ||
I kind of ment hand-coded in BB3D |
| ||
B3D is probably not a good choice for coding a B3D IDE, considering youu'd really need something to work on a level lower than the compiler itself I imagine. |
| ||
I think an IDE is basically a text editor that is able to call blitzcc to compile/run the program. However, any debug features make it more complex. You can write a texteditor natively in B3D, however, I think that an official Windows GUI element is more reliable. Still, if you're determined, maybe this can help: http://www.blitzbasic.com/codearcs/codearcs.php?code=2022 |
| ||
How do I pass a file to the BB3D compiler? |
| ||
Try this:ff = WriteFile("test.bb") WriteLine ff, "cls" WriteLine ff, "print " + Chr$(34) + "hello world" + Chr$(34) WriteLine ff, "waitkey" WriteLine ff, "end" CloseFile ff ExecFile Chr$(34) + "c:\program files\blitz3d\bin\blitzcc" + Chr$(34) + " " + Chr$(34) + CurrentDir$() + "test.bb" + Chr$(34) For blitzcc commandline parameters, see this page: http://www.bettiesart.com/tc/ultrablitz/ |
| ||
Sorry, been gone for a while. Ill try that out. |
| ||
is Chr$(34) a new line? |
| ||
No, Chr$(13) is. Chr$(34) is a double quote. |