Page 1 of 1

My personal wishlist for 2005

Posted: Sat Dec 25, 2004 12:43 am
by traumatic
I know some (if not all) of the following things have already been discussed here.
After all it's just _my_ personal wishlist so I'll go ahead anyway ;)


1) More flexible structures

Code: Select all

StructureUnion
  Structure STRUC_A
    a.f
    b.f
    c.f
    d.f
  EndStructure
  Structure STRUC_B
    a.l
    b.l
    c.l
    d.l
  EndStructure
  Structure STRUC_C
    a.f[2]
    b.f[2]
  EndStructure
EndStructureUnion

2) Multidimensional arrays in structures

Code: Select all

Structure MYSTRUC
  x.l[4][2]
EndStructure

3) Short If:Else:EndIf, eg.

Code: Select all

ProcedureReturn var=42?true:false

4) Being able to write

Code: Select all

var1=var2=var3=var4=42
instead of

Code: Select all

var1=42 : var2=42 : var3=42 : var4=42

5) Unsigned variable types


6) doubles! :)


I know there are workarounds for all of these suggestions but
workarounds almost always reduce readability at a certain point.

Thanks for your attention.

Posted: Sat Dec 25, 2004 12:58 am
by coma
I stopped waiting for an update of the 3d engine, now I use external dlls for gfx and sound, so my wishlist is almost the same.

Re: My personal wishlist for 2005

Posted: Sat Dec 25, 2004 9:35 am
by GPI

Code: Select all

ProcedureReturn var=42?true:false
Why Procedurereturn?

Code: Select all

var1=var2=var3=var4=42

Please not. Bad codedesign. Something like this is only possible, when the equal comparisation and variable set have diffrent chars.

Re: My personal wishlist for 2005

Posted: Sat Dec 25, 2004 2:06 pm
by traumatic
GPI wrote:

Code: Select all

ProcedureReturn var=42?true:false
Why Procedurereturn?
That's just meant to be an example - there're are better uses for this of course. Or did I get you wrong?

Code: Select all

var1=var2=var3=var4=42

Please not. Bad codedesign. Something like this is only possible, when the equal comparisation and variable set have diffrent chars.
True! (Again) I didn't think of that.
Don't panic, I won't request "==" as a comparison operator :)

Posted: Mon Dec 27, 2004 12:54 am
by Dreglor
changing syntax like that it isn't the best idea...

Posted: Mon Dec 27, 2004 2:04 pm
by traumatic
exchange 4) by

4) MACROS

(Don't know how I forgot that ;))