From BASIC 09 (1980) and BBC BASIC (1981) all the way to Super BASIC (1984) and GFA BASIC (1986). It's the same natural way any other BASIC developer went when adding named user defined function. It was also QuickBASIC that introduced named functions and procedures, as well as made the GOSUB keyword optional. Visual BASIC is a continuation of MS-BASIC 5.x, aka GW-BASIC and QuickBASIC (and QBASIC) and mostly source compatible with them. A change in either would mean leaving the realm of BASIC - not to mention breaking compatibility with any existing software and any BASIC examples of indexing and/or function calls. When Microsoft added user defined functions to BASIC (*1), they stayed with the existing syntax. Since the very first days of BASIC, arrays are indexed in parentheses and function parameters as well. I don't know about BASIC but it looks like that the same syntax is also used in BASIC
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |