Re: [LHA-misc] Line parsing routine
Status: Beta
Brought to you by:
ncherry
From: Paul F. <pg...@fo...> - 2000-11-28 13:35:15
|
> > I wonder can we drop the addr= and value= ? If they're always in the > same position we can drop them. But if the addr= can be replaced with > something else then we'll need them (is this too short sighted?). Also while it _can_ be typed by a user, i don't see this command set as being something anyone would _want_ to type. given that there will probably always be some sort of UI in front of this, then requiring the addr= and value= keywords is probably the right thing to do. the ambiguity you'll eliminate if you someday, say, decide to add "name=...", will make it worth it. > we've planed for. Also can we have more than 1 value? Say we d/l some > code to the Ocelot, we can first send the size of the file (make > reserving memory easier) then the actual file, which can we a stream > of 8 bit characters (no null or <CR> to worry about or escape). this is a good idea. but don't require sending the size of the file first. or at least make it device-specific. it's hard to do on-the-fly compression if you need to know the final size up front. paul =--------------------- paul fox, pg...@fo... (arlington, ma, where it's 40.6 degrees) |