The MASM Forum Archive 2004 to 2012

Project Support Forums => HLA Forum => Topic started by: hide2may on November 21, 2008, 04:43:20 PM

Title: [help] os.hhf problem
Post by: hide2may on November 21, 2008, 04:43:20 PM
Hi there,

I'm learning HLA using David's tutorial:-
http://docs.google.com/View?docID=d674v6b_21hfm8nm&revision=_latest&pli=1

The last program "testRandom" in chapter 06 doesn't seem to get compiled.
The message is as follows:-

   I:\projects\chap06>hla testRandom.hla
   Error in file "os.hhf" at line 5 [errid:107961/hlaparse.c]:
   syntax error, unexpected namespaceTkn, expecting DoOneValStmt.
   Near: << namespace >>

   os.hhf [4]:
   error: illegal instruction.

It sounds like the error is in "os.hhf", and
the first few lines of os.hhf reads:-

   #if( ! @define( os_hhf ))
   ?os_hhf := true;

   namespace os;

My hla version is 1.99. Any kind soul help me to tackle the problem?

Thanks in advance ^^
Title: Re: [help] os.hhf problem
Post by: Sevag.K on November 22, 2008, 05:35:28 AM

David brought this up on the aoaprogramming group.  He indicated that this was a problem only while using HIDE, but also mentioned that he was using the latest version of HLA with the latest version of HIDE.

Are you using the stock hla 1.99 with the libraries and headers it came with?  If not, you should probably be using the "AoA Compatibility" version of HIDE (v1.27.xx).

http://sevag.krikorian.googlepages.com/HIDE127.zip

The latest version of HIDE has a library problem in the random module.  I'm working on fixing it.



Title: Re: [help] os.hhf problem
Post by: hide2may on November 24, 2008, 01:34:25 AM
Sorry all Masters of HLA,

The problem was caused by my missing the leading line:-

    program testRandom;

::)

Your SS (Stupid Student),
-hide2may