A couple of suggestions ...

smonteith

New Member
The new language features are great, but can I suggest a couple of things:

i) In the IDE if you open a file with collapsible sections could you make them collapsed by default, I think this makes more sense as if you didn't want to be hidden then you wouldn't use the feature.

ii) Could you introduce a sub/endsub structure:

Sub Snooze
Sleep 10
EndSub

and use a Call command to invoke the routine:

Call Snooze

No need for any parameters/return values initially, but at least labels/goto/gosub could be completly eradicated and code would be more readable.

Steve
 

Bloody-orc

Senior Member
afaik ii is allready there
gosub command. read the manual2 (basic commands).
gosub snooze

snooze:
seep 10
return
 

smonteith

New Member
Yes, I know about the gosub/return - I was proposing the sub/endsub to enable code to be label free and look more "structured".

Steve
 

kwal

New Member
With regards to smonteith’s second point:
Another name for a subroutine that does not return parameters is a function
Hence, the way I see it, the suggestion is for a user definable functions


Edited by - kwal on 02/12/2006 00:37:15
 
Top