DebugPrint

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > TXT. Text-File Engine > Other Commands >

DebugPrint

TXT.DBP

Previous Top Next


MiniRobotLanguage (MRL)

 

TXT.dbp

TXT.DebugPrint

Dump/Print the internal Buffer into the SPRE-Debug-Window

 

 

 

Intention

 

This command makes only sense when used from the SPR-Editor.

It will print the complete TXT.-Buffer into the Debug-Window of the SPRE.

 

There are two ways to use the command:

 

1. Do not specify any Parameter.

In this case the command will Print the complete TXT.-Buffer in the Debug-Window of the SPRE.

 

' Generate 5 Lines of Text A

$$TXA=ABCDEF$crlf$

$$TXB=$$TXA$$TXA$$TXA$$TXA

' Generate 5 Lines of Text B

$$TXC=123456$crlf$

$$TXD=$$TXC$$TXC$$TXC$$TXC

 

' Load first Text into TXT.-Buffer

TXT.Load_Pure_Text|$$TXB

TXT.dbp

' Save Reserve to internal Memory Place "0"

TXT.Push_Intern|0

ENR.

 

 

clip0373

 

2. Specify an Numeric Parameter P1 (0-9)

In this case the Command will Print the content of the Internal Memory Locations (IML) 0-9.

 

' Generate 5 Lines of Text A

$$TXA=ABCDEF$crlf$

$$TXB=$$TXA$$TXA$$TXA$$TXA

' Generate 5 Lines of Text B

$$TXC=123456$crlf$

$$TXD=$$TXC$$TXC$$TXC$$TXC

 

' Load first Text into TXT.-Buffer

TXT.Load_Pure_Text|$$TXB

' Save Reserve to internal Memory Place "0"

TXT.Push_Intern|0

TXT.dbp|0

ENR.

 

clip0374

 

 

 

Syntax

 

 

TXT.dpb

TXT.DebugPrint

 

 

Parameter Explanation

 

P1 - (Input) Number or Variable with number. Integer Number between 0 and 9.

    If omitted the command will print the TXT.-Main Buffer.

 

 

 

Example

 

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

'

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

 

 

 

Remarks

-

 

Limitations:

 

-

 

 

See also:

 

    TXT.Load Textfile

    TXT.Clear

    OPT. - Optional Settings

    FIL.Generate numbered Name

    FIL.Move numbered File

    ATF - Append-to-File

    CFF. - Copy-From-File

    CTF - Copy-To-File

    COP. - Copy File

    SHF. - Shell-File-Operation

    MDF. - Make-Direktory-File

    MKD. - Make-Directory

    GLC. - Get-Line-Count

    IEF. / NEF. - If - exist - File

    LFF - Line-From-File

    WFF. - Wait-For-File

    REN. - Rename File/Dir