Re: 15 Puzzle and questions

new topic     » goto parent     » topic index » view thread      » older message » newer message

At 12:03 a.m. 02-02-99 +0100, you wrote:
>Hello all.

Hola y bienvenido ;)

>According to seems, Euphoria it is a pseudocompiler, of the sort of Visual
>Basic. Why then it does not save pseudo-code in disk? Would not be more
>efficient?

Theoricaly true, but in practice Euphoria pre-compiles 35.000 lines per=
 second
on a P-150... you wouldn't notice the diference. Also pre-compiling the full
source each time makes it easier for the debugger/profiler.

>A method to comment large code blocks.

Like Pascal's (* *) or C's /* */? mmmhhh... maybe /-- --/?

> A "if 0 then" is not a good method,
>since the syntax is checked.

I don't understand.

>The scope rules are prone to collisions of identificators. The not declared
>libraries do not have to be accessible.

Well, there has been along discussion about Euphoria's namespace
limitations. RDS is aware of this and will resolve on the near future (I
hope) the issue.

>Less important: direct functions reference. Sentences of the type "if
>message_box(...) then end if" or "x =3D message_box(...)" are artificial.

Don't understand neither.

>Win32Lib:
>
>How it can be changed the icon of a program?

This ain't preciscly a win32lib issue. The icon of an executable is stored
on a resource file statically linked to the .exe file. EXW.EXE doesn't have
any icon, so Windows choose the default one. I investigated a bit on a way
to add/append/modify icons on exe files. There are some API functions that
let you do that, but they are only for NT. If anyone is interested they are
BeginUpdateResource, EndUpdateResource and UpdateResource. The "best"
solution would be that RDS links exw.exe with a generic icon, then with a
careful examination of the file determine the offset of the icon data and
overwrite it with your custom icon.

[Spanish]
Si necesitas ayuda y tienes problemas con el idioma escribeme a
daber at pair.com en espa=F1ol, pero porfavor no uses palabras como
"ordenadores" ni de "ficheros".
[/Spanish]

Regards from Chile,
        Daniel Berstein
        daber at pair.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu