Re: type checking ?
- Posted by Bernie Ryan <xotron at bluefr?g.?om> Nov 24, 2007
- 624 views
Matt Lewis wrote: > > Why do you need to pass a parameter if you want to force them to > pass a specific constant? Matt: <code> ---- File1 constant strConstant1 = "This a string constant from file 1" ---- end of File1 ---- File2 constant strConstant2 = "This a string constant from file 2" ---- end of File2 ---- File3 constant strConstant3 = "This a string constant from file 3" ---- end of File3 ---- MAIN FILE include file1 include file2 include file3 procedure useit(sequence s) -- process s here end procedure -- These are ok useit(strConstant1) useit(strConstant2) useit(strConstant3) -- THIS IS WRONG BECAUSE OF THE QUOTES, I DO NOT WANT TO PROCESS THIS. useit("strConstant1") </code> Bernie My files in archive: WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan