Page 1 of 1

optional file parameter

Posted: Mon Oct 27, 2003 12:54 pm
by blueznl
currently, i always have to use usefile()

i would like to have an additonal option for all those read/write commands, to keep it more in line with regular basics, such as...

readstring(#1)

if possible as the first parameter, and to avoid rewrites, preceded by a hash sign, so syntax would be something like:

readwhatever( [#fileid , ] parameter1, parameter2 )

just to make it more basic and remove countless usefile's


and, to top it off, my current wish list in all it's glory...

THE IN YOUR FACE GLARING STUFF...

- gimme not
- gimme fixed length strings
- gimme multiple case conditens with select case endselect
- gimme double ints and double floats
- gimme fileexist

- standardize or expand all those command variants (usefile, usewindow, windowoutput(), spriteoutput() etc. that have inconsistent syntax or cause unneccesary additional statements)

THE VERY VERY VERY APPRECIATED...

- add '#nr' parameter to most file commands
- delete / insert elements in arrays
- swap variables / array elements
- defline to define style / thickness of drawn 2d graphics
- VAL on hex strings
- STR to accept floats, bytes etc. with specified nr. of decimals

THE HMMM NICE...

- depth parameters for CreateImage / LoadImage etc.
- bigger strings (actually, i would only need the gixed length strings to be larger, normal strings at 64k are good enough for me)
- thread safe strings
- commands to sync up multi threading

THE ICING ON THE CAKE (take your time )...

- collision in 3d
- better sound lib (eax, fade, etc.)
- proper documentation (there's always the board and the chat to ask, and you guys are great, so that's why this is on the bottom of my little list...)

well... how about those first two sections in 3.81 hmm?