Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visual FreePro -- ANDAL .&&
Message
From
31/10/2013 21:15:52
 
 
To
31/10/2013 20:16:29
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01586816
Message ID:
01587061
Views:
74
Patience. I am explaining new features. More are coming.


>Hrm... Am I misinterpreting what you're describing here, or is it that you're simply defining a mechanism similar to what's found in BASIC where you're able to put multiple statement on a line by separating them with a colon?
>e.g.:
>
FOR I=1 TO 10
>  PRINT "Hello, world"
>NEXT
>
>could be written as:
>
FOR I=1 TO 10: PRINT "Hello, world" : NEXT
>
>Such a feature used to be a nice feature back in those old days in interpretive BASIC -- it allowed you to avoid having to use GOTOs to skip around blocks of code (which would incur a slight performance penalty because of the line number search). Also "packing" command line with as much code as possible gained a slight performance gain as interpreter would simply follow "code stream" -- there was often a very slight performance hit when interpreter would have to follow across program lines. Personally I don't feel such a feature would be as useful today. I remember one particular program I'd written that I'd written in BASIC that I could merge into an existing program to "pretty print" it by splitting multi-statement lines and add indentation (one often avoided adding whitespace in interpretive BASIC -- it would make your program run slower).
>
>Perhaps more useful would be a program editor that would allow you to "fold" display according to defined blocks (i.e. you could ask to collapse sections of code). I'd seen such features in editors like XEDIT found on many IBM mainframe/minicomputer systems. Various editors in Unix used to have similar features (tag information was kept in a separate "tags" file that would be maintained along with the source file).
Previous
Reply
Map
View

Click here to load this message in the networking platform