I am searching a way in SML to open a txt file whose name will be given by the user.
like in C where arv [1] is the user's filename of file.
int main (int argc, char * argv[])
{
FILE * fp;
fp = fopen(argv[1],"r");
...........
...........
}