• rename a file mpl function

    From dream master@21:1/163 to g00r00 on Tuesday, September 12, 2017 00:09:17
    is there a renaming function in mpl for a file text or bin or
    would i have todo it the dirty want and recreate it with the
    name needed? .úùDre
    am Masterùú. øùú
    ùøøùúùø DoRE!ACiDiC
    !Demonic[dreamland.darktech
    .org]
    --- Mystic BBS v1.12 A35 (Windows/64)
    * Origin: |08--[|15!|07dreamland BBS dreamland.darktech.org (21:1/163)
  • From Gryphon@21:1/120 to dream master on Tuesday, September 12, 2017 21:03:43
    On 09/12/17, dream master said the following...

    is there a renaming function in mpl for a file text or bin or would i have do it the dirty want and recreate it with the name needed?

    There isn't one single function for it. You have to do two functions.

    FileCopy(<fromfile>,<tofile>);
    FileErase(<filename>);

    Var FileA : String = 'filea.txt'
    VAr FileB : String = 'fileb.txt'

    FileCopy(FileA,FileB);
    FileErase(FileA);

    --- Mystic BBS v1.12 A35 (Linux/64)
    * Origin: Cyberia BBS | cyberia.darktech.org | San Jose, CA (21:1/120)
  • From dream master@21:1/163 to Gryphon on Tuesday, September 12, 2017 23:54:53
    On 09/12/17, Gryphon said the following...
    FileCopy(<fromfile>,<tofile>);

    ahhh ok i didnt know you can do it with that one. thank you

    |08 .|05ú|13ù|15Dr|07e|08am Ma|07st|15er|13ù|05ú|08.
    |08 øù|05ú|13ùø |13øù|05ú|08ùø
    |11 DoRE|03!|11ACiDiC|03!|11Demonic |08[|15dreamland|09.|15darktech|09.|15org|08]

    --- Mystic BBS v1.12 A35 (Windows/64)
    * Origin: |08--[|15!|07dreamland BBS dreamland.darktech.org (21:1/163)