Hello,
I would like to get a value that is entered on a STRFILLIN field, to impose this name on the IPC output file, but I’m stuck
("genipc"
nameFileScript="geipcexecScript.txt"
myFile=outfile(nameFileScript "w")
fprintf(myFile "setwindow pcb\n")
fprintf(myFile "ipc356 out\n")
fprintf(myFile "setwindow form.ipc356\n")
setq( ipc356file strcat("FORM ipc356 outfilename " getWorkingDir() "/"axlFormGetField(fw "numciBox")""))
fprintf(myFile "%s\n" ipc356file)
fprintf(myFile "FORM ipc356 version IPC-D-356A\n")
close(myFile)
scbedReplayScript(nameFileScript)
deleteFile(nameFileScript)
t)
; ------ champ numci
fprintf(myPort "FIELD numciBox\n")
fprintf(myPort "FLOC 52 52 \n")
fprintf(myPort "STRFILLIN 8 6\n")
fprintf(myPort "ENDFIELD\n")
Thanks for you help