Scripts/APLsf

From J Wiki
Jump to: navigation, search

This script reads APL*PLUS sf files.

It only supports reading files, and only *.sf files, not *.asf files. Adding support for .asf files should be straightforward.

Main functions:

sfcopy copy sf file to a J file
sfread read sf file component

Form:

[opt] sfcopy from;to opt=0 (default) or 1 determines the J file cpt to which sf file cpt 1 is written.

sfread file;cpt

For example:

sfcopy 'c:\apl\mydata.sf';'c:\j\mydata.ijf'
sfread 'c:\apl\mydata.sf';23

Download the script: File:Aplsf.ijs


Contributed by Chris Burke