String-Commands * TXT-Command

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > TXT. Text-File Engine > Load / Save Commands >

String-Commands * TXT-Command

TXT.Save_File

Previous Top Next


MiniRobotLanguage (MRL)

 

TXT.Sav

TXT.Save

TXT.Save_File

Save the TXT.-internal Buffer into the file where it was loaded, or to a specified File-Path.

 

NTFS-Direct

 

Intention

 

This command is used to save the internally stored file back to the Harddrive. Default it will use the same Filename with which it has originally been loaded.

As the internal File can be changed with several commands, this is a way to cahnge Files "In Memory" in a very fast way.

 

TXT.tov|$$LAD

DEL.$$LAA

WFF.<>$$LAA|10

PAU.0.1

TXT.sav|$$LAA

WFF.$$LAA|10

ITO.

  GTO.Lab_failed

EIF.

DEL.$$LAA

WFF.<>$$LAA

PAU.0.1

TXT.Save_File

WFF.$$LAA|10

ITO.

  GTO.Lab_failed

EIF.

 

 

Syntax

 

 

TXT.Sav[|P1]

TXT.Save[|P1]

TXT.Save_File[|P1]

 

 

Parameter Explanation

 

P1 - (Input) Variable with the Filename and Path where the Textfile shall be saved.

 If omitted, the same Path where the file was loaded is used, previous version is overwritten without asking..

 

 

Example

 

'*****************************************************

' EXAMPLE 1: TXT.tov  and TXT.fov etc.

'*****************************************************

VAR.$$LAA=?path\..\Pics\Test.txt

TXT.ltf|$$LAA|$$RES

TXT.sav|$$LAA

WFF.$$LAA|10

ITO.

  GTO.Lab_failed

EIF.

DEL.$$LAA

WFF.<>$$LAA

PAU.0.1

TXT.Save_File

WFF.$$LAA|10

ITO.

  GTO.Lab_failed

EIF.

ENR.

 

 

Remarks

 

Can acess very large pathes up to 32767 characters due to the use of NTFS-direct.

 

Limitations:

 

-

 

 

See also:

 

!TXT. - Text File Engine

TXT.Load Textfile

TXT.Clear

TXT.From_Var

OPT. - Optional Settings

TXT.Save_as_Unicode

  Push_Intern

  Pop_Intern  

  Push_Keep

  Pop_Keep

  Clear_Intern

  TXT.Load Textfile

  TXT.Clear  

  TXT.To_Var

  TXT.From_Var

  TXT.To_Var_and_Clear

  TXT.Get_Filename

  TXT.Get_Lenght