It's definitely something to do with the filename scanning code at $C268 (http://www.ffd2.com/fridge/docs/1541dis.html#C268). I get the same error with chr$(63) = '?', in fact. And it works if I prepend "0:" to the filename in that case, as well. /Hans On 2021-01-24 22:19, Hans Liss wrote: > > Can you check if it works if you prepend "0:" to the file name? > > open 2,8,2,"0:relfile,l,"+chr$(42) > > /Hans > > On 2021-01-24 20:55, Jim Brain wrote: >> >> Someone on Facebook just asked why creating a REL file with record >> length 42 generated a syntax error DOS error code, and I thought they >> must be putting in the command wrong. >> >> I tried it on real HW here (64/1541) and to my surprise, it fails. >> 41 and 43 work, but 42 (chr$(42) = '*', BTW) fails to create the file. >> >> Is this a known bug, or is there a better way to create a REL file (I >> used the 1541 manual's open 2,8,2,"relfile,l,"+chr$(42)) that does >> not cause the issue? >> >> Jim >> >> -- >> Jim Brain >> brain_at_jbrain.com >> www.jbrain.comReceived on 2021-01-24 23:01:36
Archive generated by hypermail 2.3.0.