English
Source / code snippets

page Nproc Proc

 
Proc from nProc page

sometimes would like one a nProc however a Proc aurufen,
z.B. circa to that XProfan-Sprachschatz umzuschalten. this is relatively simply with of/ one
interpreteProc by Call possible.
CompileMarkSeparation
 {$cleq}
 {$compiler c:\dev\xprofan11\11}
 {$runtime c:\dev\xprofan11\11}
declare interpreteProc&
interpreteProc&=procAddr(interpreteProc,5)
print test(1)
print test(2)
waitinput
end

nProc test(long test){

    global interpreteProc&
    case test==1 : return call(interpreteProc&,1,2,3,4,5)
    case test==2 : return call(interpreteProc&,2,2,3,4,5)

}

interpreteProc(long procID,p2,p3,p4,p5){

    select procID

        caseof 1 : return 55

        caseof 2 : return p2*p3

    endSelect

color=#0000FF>}
 
05/13/13  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.305 Views

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