1. Snot Nosed Kid Putting My Two Cents Worth In.
- Posted by Mathew Hounsell <mat.hounsell at MAILEXCITE.COM> Feb 27, 1998
- 736 views
- Last edited Feb 28, 1998
Hi, [Missing From The Interpreter] The interpreter needs a special set of global variables like _VERSION and _OS an d _PLATFORM, so a programmer who is programming can get the imformation they need. Also the interpreter should have one more keyword... requires. requires could be used like... requires version x.x.x requires version 1.5.a aborts if the interpreter is not the needed version, avoiding criptic messages w hen something is undefined, requires os xxxxxx requires os WIN400 aborts if incorrect platform, or the best one requires file xxxxxxxx.xxx reuiress file EX_BMP.DLL aborts if a file is missing especially handy if using DLLs. [Including Files] Yes, Yes, Yes, I agree !!! Include files are one of the greatest powers of a lan guage, but theres one problem. Most languages require that include files be in a specia l directory, or the current directory, Euphoria does as well. My sugestions are: 1. Modify the syntax of include or 2. Modify the action of include. 3. Add another keyword. 4. Add a list file. Suggestion 1: This will probablely be easier to imlpement. Precede the include path with a symbol or key word to identify the include direc tory. Something like ... or @EU/INC etc. eg include ...\cuny\text_gui\0.9c\copland.e Suggestion 2: Have include search or the sub directories of the include directory if it can't find the file in the include directory. Suggestion 3: Add a keyword like include_sub to check in the sub directory of the include dire ctory. Suggestion 4: Is not that practicle. Create a list file of directories to look in. This would not make code more portable. [Euphoria Expansion] The list serer has become a great place to discuss ideas about extending Euphori a or just changing it, perhaps a formal voting page off the official page could lo g votes. RDS could ask someone else to log the votes for them, or write a script, if they are to busy, which they will be if things are voted on. And one thing or th e syntax problems, you can't use [] for something else as it becomes confusing, an d a # at $% to implement. Consider other symbols. I also think self was quite OK. Oh and procedures and functions should be left as is. If you want data to be returned u se functions or globals & procedures, so shush. [Euphoria DOS DLLs <- EDD] I thought these would be a good idea a while back. I don't have the knowledge to implement it, but if you could access a tokenised subroutine and/or a machine l anguage subroutine you could make better programs, easier. This would allow a program to say, access external GUI control code. --- Sincerely, Mathew Hounsell Mat.Hounsell at mailexcite.com Free web-based email, Forever, From anywhere! http://www.mailexcite.com