View Single Post
Old 02 June 2015, 15:45   #178
Mrs Beanbag
Glastonbridge Software
Mrs Beanbag's Avatar
Join Date: Jan 2012
Location: Edinburgh/Scotland
Posts: 2,202
Originally Posted by Predseda View Post
You mean allocate "S" (or "B") variable to a row of a code? It is only about shortcuts then, isnt it? If you could do the same, but by another way, I think it is still acceptable.

I love calling of a procedures in amos and the way the interpretter rolls them on and off.
no i mean actually allow variables to store different kinds of objects, much like how you can currently use strings. You wouldn't be limited to the number of screens, and you could create arrays of screens, as well as the obvious advantage of being able to refer to them by name instead of by number which is better for readability (as long as you don't use obtuse variable names like "S"!)
Dim s(20)
for i=0 to 19
  s(i)=new Screen(...)
next i
Being able to collapse procedures down to one line is a cool feature of the editor! Modern text editors can also sometimes do things like that with source code. Maybe it was ahead of its time in that respect!
Mrs Beanbag is offline  
Page generated in 0.03849 seconds with 10 queries