> MkCData > 12/08/1992 JGH: Create C data structure from binary data : (A$=_OS_GetEnv:in%=0:out%=0 2A A$="":"Input file: "f1$:"Output file: "f2$:A$=f1$+" "+f2$ <; A$<2: 220,"Syntax: MkCData ( )": F'I%=A$," "):f1$=A$,I%):f2$=A$,I%) P :Close: : Z+in%=(f1$): in%=0 "Can't open ";f1$: d9out%=(f2$): out%=0 "Can't save ";f2$:#in%:in%=0: n #out%,"{":#out%," ":x%=0 x!:;100*#in% #in%;"%";13; byte%=#in% #out%,"0":#out%,"x" #out%, ~(byte%16) #out%, ~(byte%15) #out%,",":#out%," " 9x%=x%+1: x%>7 x%=0:#out%,10:#out%," ":#out%," " #in%: #out%,"}" #out%:out%=0 #in%:in%=0  : Close  out%:A%=out%:out%=0:#A%  in%:A%=in%:in%=0:#A%  ": ,`ݤ_OS_GetEnv:>&FFFF:<&FFFF:ș"OS_GetEnv"A$:=A$,1+A$," ",1+A$," ",1+A$," ")))) =""