English
Online-Documentation

return Kontrollstruktur: Kontrollstruktur

 
Return [P:X1]
Vorzeitiges terminate of/ one procedure. it is possible a worth zurückzugeben. this is then to the Calling the procedure in @$(0), @%(0), @&(0) and/or @!(0). needs one this worth, recommend it itself, The procedure as function aufzurufen. If the procedure no Parameter has, are when calling as function The clinging empty.

The zurückgegebene worth must too a local Variable his.

too one Program can itself vorzeitig terminate, this happens with the API-appeal ExitProcess. here exists The Possibility, the aufrufenden Program or Betriebssystem, over the ExitCode, a ReturnCode To transfer.

(see example 2)

the Program becomes vorzeitig exits and the ExitCode 16 transfer, this can z.B. in a DOS-Window with folgendem Batch quizzed go:

ProgrammName.exe
ECHO %ERRORLEVEL

In one Program can over The API-function GetExitCodeProcess the ReturnCode in experience brought go. important: even if a procedure with Return leave becomes, must The Definition the procedure with ENDPROC completed go. the leave of/ one procedure must not within of/ one While-Loop erfolgen.
 
08/17/06  
 



Note / Question or Comment to the Help--Topic


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

822 Views

Untitledvor 0 min.
Michael Borowiak12/08/11

Themeninformationen

this Topic has 1 subscriber:

iF (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie