Hi all

This is my attempt to use RadASM to edit HLA code.
Since I am not a HLA coder, will you help me test it?

Unzip to C:\RadHLA

KetilO

Edit:
03/22/2003 16 dl. New upload with dialog example.
03/23/2003 RadASM 2.0.1.5 is uploaded to my homepage. It has hla support with some improvements over this test pice.
03/25/2003 34 dl. New upload. Several changes / improvements.
03/26/2003 12 dl. New upload. Activated api tooltip and api constants + new wordlist.
03/28/2003 11 dl. New upload. Fixed a few bugs and added support for source code breakpoints.
03/30/2003 16 dl. New upload. Fixed more bugs. Fixed comment / uncomment selection (uses '//' instead of ';').
Posted on 2003-03-21 15:22:36 by KetilO
I tried the program with the demo you provided and it worked fine. It is nice that you are adding HLA support to RadAsm or would RadHLA be a separate program. It's all good either way :alright:
Posted on 2003-03-21 16:00:08 by Odyssey
Hi Odyssey

It will be the same RadASM.exe and RAEdit.dll. Only RadASM.ini / hla.ini
will be modified to HLA needs.

KetilO
Posted on 2003-03-21 16:11:38 by KetilO
I am trying to get RadHLA to build an app with multiple source files but it is only compiling the main one.
Posted on 2003-03-21 17:07:06 by Odyssey
Hi Odyssey

How would you do that using command line?
hla source1.hla source2.hla source3.hla ?

What about #include in source?

KetilO
Posted on 2003-03-21 17:41:37 by KetilO
How would you do that using command line?
hla source1.hla source2.hla source3.hla ?


Yes, that's how it is done.

I can't use include because one of the files is a resource script and the other source files can't be included as they are without modification.
Posted on 2003-03-21 18:05:14 by Odyssey
Hi Odyssey

The solution is to create a batch file in the projects directory (MyBuild.bat), and change the project options to use that batch file.

Win98 (builds to console):
5,C,MyBuild.bat
WinNT (builds to output window):
5,O,MyBuild.bat

KetilO
Posted on 2003-03-22 02:51:38 by KetilO
good work kito


:alright: :alright: :alright: :alright: :grin:
Posted on 2003-03-22 04:52:58 by bad man
Hi all

Thanks, bad man

I am looking for a simple hla project showing a dialog.
If you have an example, please upload it here.

KetilO
Posted on 2003-03-22 05:00:56 by KetilO
I will try the batch file. I already have a makefile so all the batch file will have to do is run nmake. I was wondering. Can I configure RadAsm to run nmake?
Posted on 2003-03-22 05:01:14 by Odyssey
Here is a simple dialog demo. I used my own header files because it seems like there are some errors in some of the header files provided in the HLA package. Windows.hhf is okay I am not sure about about the rest.
Posted on 2003-03-22 05:45:24 by Odyssey
Hi Odyssey

Thanks for the dialog.zip

Nothing prevents you from using nmake.

KetilO
Posted on 2003-03-22 06:03:51 by KetilO
No problem. Glad to help.
Posted on 2003-03-22 06:43:16 by Odyssey
Hi all

New upload at the top.

Whats new:
- Fixed a few bugs
- Speed optimized block comment painting
- Added dialog example

KetilO
Posted on 2003-03-22 08:39:54 by KetilO
Good work KetilO!
I hope you'll make HLA a fully supported language for your superb IDE.
Posted on 2003-03-22 17:57:29 by Duker
Hi all

RadASM 2.0.1.5 is uploaded to my homepage.
It contains some hla improvements over the posted demo.

KetilO
Posted on 2003-03-23 06:48:02 by KetilO
I just downloaded that version but it seems like the show api list feature is not supported with HLA :(
Posted on 2003-03-23 14:52:33 by Odyssey
Hi Odyssey

HLA syntax does not allow support for auto api list or api constants. The best solution is to add the api's to the word list.

KetilO
Posted on 2003-03-23 16:12:49 by KetilO
How would I go about doing this?
Posted on 2003-03-23 16:23:06 by Odyssey
Hi Odyssey

The *.api files are plain text.
Take the masmApiCall.api and remove all parameters.
Add the result to hlaApiWord.api

KetilO
Posted on 2003-03-23 16:53:39 by KetilO