• MPL 1.10 issue

    From Dream Master@46:1/145 to All on Sun Jan 4 22:12:00 2015
    Ok so I am using the new format to open a file via Fassign but when I compile it shows . expetced. Here is what I have.

    Var cfile : file;
    fAssign(cFile , 'hours.txt' 02);
    its telling a period is expected after 'hours.txt' i followed it as its shown in the whats new. Any ideas? Im updating my system available mpl


    |08 ··[|15!|07dream master|15!|07DoRE|15!|07ACiDiC|15?|07demonic
    |08 ··[|15!|07dreamland|09.|07darktech|09.|07org

    --- Mystic BBS v1.10 A51 (Windows)
    * Origin: d i s t o r t i o n // d1st.org (46:1/145)
  • From g00r00@46:1/127 to Dream Master on Mon Jan 5 03:16:54 2015
    Ok so I am using the new format to open a file via Fassign but when I compile it shows . expetced. Here is what I have.

    Var cfile : file;
    fAssign(cFile , 'hours.txt' 02);
    its telling a period is expected after 'hours.txt' i followed it as its shown in the whats new. Any ideas? Im updating my system available mpl

    My guess is its saying "," (comma not a period). Try this:

    fAssign (cFile, 'hours.txt', 2)

    --- Mystic BBS v1.10 A60 (Windows)
    * Origin: Sector 7 [Mystic BBS WHQ] (46:1/127)
  • From Dream Master@46:1/145 to g00r00 on Mon Jan 5 08:14:00 2015
    on 01/05/15, g00r00 said...
    My guess is its saying "," (comma not a period). Try this:
    fAssign (cFile, 'hours.txt', 2)

    it did not like it so I added

    fassign(cfile, cfgmpepath+ 'hours'txt', 02);
    so now it moved on and now i am getting type mismatch
    I put
    reset(cfile);
    freadline(cfile, hstart); so i think its saying hstart is the mismatch?
    now the hours.txt first line says 1200 and next line is 13:30 that is sysop available. Is there a new command to get sysop hours internal to mpl?



    |08 ··[|15!|07dream master|15!|07DoRE|15!|07ACiDiC|15?|07demonic
    |08 ··[|15!|07dreamland|09.|07darktech|09.|07org

    --- Mystic BBS v1.10 A51 (Windows)
    * Origin: d i s t o r t i o n // d1st.org (46:1/145)
  • From Gryphon@46:1/116 to Dream Master on Mon Jan 5 10:00:26 2015
    On 01/04/15, Dream Master said the following...

    Ok so I am using the new format to open a file via Fassign but when I compile it shows . expetced. Here is what I have.

    Var cfile : file;
    fAssign(cFile , 'hours.txt' 02);
    its telling a period is expected after 'hours.txt' i followed it as its shown in the whats new. Any ideas? Im updating my system available mpl

    I think it's saying it wants a comma, not a period. I can see that a comma
    is missing from your statement, so that is what i would try first.

    "No matter where you go, there you are!" - Buckaroo Bonzai

    --- Mystic BBS v1.10 A59 (Linux)
    * Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX (46:1/116)
  • From Gryphon@46:1/116 to Dream Master on Mon Jan 5 10:02:49 2015
    On 01/05/15, Dream Master said the following...

    on 01/05/15, g00r00 said...
    My guess is its saying "," (comma not a period). Try this:
    fAssign (cFile, 'hours.txt', 2)

    it did not like it so I added

    fassign(cfile, cfgmpepath+ 'hours'txt', 02);
    so now it moved on and now i am getting type mismatch
    I put
    reset(cfile);
    freadline(cfile, hstart); so i think its saying hstart is the mismatch? now the hours.txt first line says 1200 and next line is 13:30 that is sysop available. Is there a new command to get sysop hours internal to mpl?

    is hstart defined as a string? If not, that would account for the mismatch error. Also, is it not fReadLn, instead of fReadLine? Not sure if you're
    just typing here from scratch or if this is your actual code.

    "No matter where you go, there you are!" - Buckaroo Bonzai

    --- Mystic BBS v1.10 A59 (Linux)
    * Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX (46:1/116)
  • From dream master@46:1/102 to Gryphon on Tue Jan 6 00:01:38 2015
    On 01/05/15, Gryphon said the following...
    I think it's saying it wants a comma, not a period. I can see that a comma is missing from your statement, so that is what i would try first.

    no it said period. I have two 30" screens it was big enough hehe

    --- Mystic BBS v1.10 A59 (Windows)
    * Origin: fluph.darktech.org (46:1/102)
  • From dream master@46:1/102 to Gryphon on Tue Jan 6 00:03:58 2015
    On 01/05/15, Gryphon said the following...

    is hstart defined as a string? If not, that would account for the mismatch error. Also, is it not fReadLn, instead of fReadLine? Not
    sure if you're just typing here from scratch or if this is your actual

    scratch..
    no integer. I posted the var call. both are long integer. it was like that
    for 1.08

    --- Mystic BBS v1.10 A59 (Windows)
    * Origin: fluph.darktech.org (46:1/102)