Re: Need reviews of HLA Adventure



Jim Carlock wrote:

....
> <FILES="*.asm;*.inc" />
> <DEFAULTDATETIME="12/31/2525 13:14.00" />
> <FILE="hlaadv.asm" DateTime="12/31/2525 13:14.01" />
> <FILE="hlaadv.exe" DateTime="12/25/3535 00:00.00" />

Well I'm glad to see you're using a four-digit year. We
don't need any Y3K bug! The dates you mention overflow
32-bits, in "seconds since the dawn of time"... When is it,
2027 sometime that happens?

....
> And I kept seeing C like statements inside
> of it.

Funny, some people see Pascal-like statements. :)

> And that's when it clicked that it was a script.
> 5) In reality it is a script to create files.

That's one way to look at it, I guess.

> And the files it creates should
> have a way to set the date/time on the files it creates. After all it's a
> script to build files. And if the purpose is to build files, the date and
> time is an important part of the file.

It does... It dates 'em the date/time that the "script
processor" created the files from the "script". If you wrote
a program for Masm yesterday, and assembled it today, would
the executable have yesterday's date? It *would* help with
the "versioning problem" to do it that way. Wouldn't work
well on multi-file projects. Stamp the executable with the
most recent date encountered, I suppose... Beats hell out of
having to edit the XML - several places - every time you
change anything, anyway!

> Furthermore, overwriting existing
> files should be a consideration.

Well, if HLA promped me to overwrite existing .asm and .inc
files, and Gas prompted me to overwrite the existing .o
file, and ld prompted me to overwrite the existing
executable... *every* time I made an edit to the .hla
file... it would slow development considerably! It would
clear up some space on my hard drive. All that crap could
go! It ain't *that* inflexible to emit a flat binary with
the ELF executable header in place with Nasm! :)

I find it hard to imagine that you'd really want that (if
you didn't want to overwrite existing files, what in hell
are you running HLA for?) - but people want some surprising
things.

Best,
Frank
.



Relevant Pages

  • Re: Need reviews of HLA Adventure
    ... > That's before there *was* a Nasm, or Fasm, or HLA! ... should include some header information such as for date/time stamps. ... So .hla is a text script currently. ...
    (alt.lang.asm)
  • shell script and dd
    ... I tried to solve my problem and executed the following script: ... If I overwrite using "zero" and "urandom" data few times, ... My hard disk was never accessed although I set the "mknod" commands ... # define /dev/hda1 (output for dd-command) ...
    (comp.os.linux.security)
  • Re: excel object
    ... Thanks for the reply but which one do I use to overwrite an existing file ... without a prompt. ... This script will be scheduled. ... In order to crete an excel object do I have to have excel ...
    (microsoft.public.scripting.vbscript)
  • Re: Edit lines in a txt file.
    ... I can not seam to find the reason for the error that ocurrs. ... whenever I use the function that I've written to edit the ... you need to preserve what's following that line, else you'll overwrite ... converting each line into a string for each list node, ...
    (comp.lang.c)
  • Re: Update document in wss from external source
    ... text of the document after doing Edit in MS Word. ... As detailed in a previous post I thought versioning was enabled for my ... However when I upload with overwrite checked it just ... I then browse for my document and Select it and have Overwrite ...
    (microsoft.public.sharepoint.windowsservices)