Jump to content

File extension is in extensions list: Difference between revisions

→‎{{header|Fortran}}: mark as "needs updating"
(→‎{{header|D}}: mark as "needs updating")
(→‎{{header|Fortran}}: mark as "needs updating")
Line 232:
 
=={{header|Fortran}}==
 
{{update|Fortran}}
 
The plan is to use the extractor function for file name extensions that was defined in another problem to obtain the extension's text, then use that text to index a character string of approved extensions. These are defined with the period included, but no extension's text can include a period - all start with a period and continue with letters or digits only - so the specification of a list of such items need not mess about with quotes and commas and so forth. The deed is done via function EXTIN(FNAME,LIST), but there is a lot of support stuff in the absence of an existing library to call upon.
 
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.