Jump to content

Talk:Read a configuration file: Difference between revisions

m
→‎"Standard": added answer to what's not clear. -- ~~~~
m (→‎current task: questioning the need for the archaic word: speeling. -- ~~~~)
m (→‎"Standard": added answer to what's not clear. -- ~~~~)
Line 66:
 
There is a sample file on the task description. Which part of the format is not clear from the example?
 
: the config line that has ;SEEDSREMOVED. It is clearly a comment and it's supposed to be ignored <tt> {lines beginninning [sic] with a semicolon are ignored ...</tt> }, but yet, the task says that we are supposed to set the var <tt> seedsremoved </tt> to <tt> false </tt>. --[[User:Gerard Schildberger|Gerard Schildberger]] 09:00, 29 March 2012 (UTC)
 
: the use of (apparently) commas (,) to signify multiple parameters. For a (human being) name(a) such as -----> Harry Connick, Jr., Pliny The Elder, a Roman (23 AD - Auguest 25,79 AD), S. J. Smith, DDS <----- it would be very hard to correctly parse (as the "rules" are, it would be parsed as seven different names). For my part, I'm going to treat multiple parameters as one, as the task said these MAY be stored in an array. -- [[User:Gerard Schildberger|Gerard Schildberger]] 09:00, 29 March 2012 (UTC)
 
: what if commas are supposed to be part of the data field? -----> primes=2,3,5,7,11,13 ... <----- -- [[User:Gerard Schildberger|Gerard Schildberger]] 09:00, 29 March 2012 (UTC)
 
: the preserving of case for the parameter fields seems to be optional: "<tt>... sensative, but configuration parameter data is case sensative and MAY be preserved ...</tt>". If it isn't preserved, then the data isn't case sensative. Don't ask us to scan for case sensative data, and then we MAY throw it away ... or keep it (the case, that is). -- [[User:Gerard Schildberger|Gerard Schildberger]] 09:00, 29 March 2012 (UTC)
 
: what happens when the parameter (name) has a character that isn't support as a valid symbol for a "variable name"? -----> Ægypt = Cairo <-----, ----> ½pint = slang for small person <-----, ----> Großman=Germany <----- most of these, of course, we can almost assume we know what they mean, but what if the meaning isn't known? -- [[User:Gerard Schildberger|Gerard Schildberger]] 09:00, 29 March 2012 (UTC)
 
We can always create new tasks for other formats of course.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.