English
Forum

nProc - How functions the ?

 

Georg
Teles
Hello Forum,

ok, so far i see does it Compile and left only over the Precompiler XPSE ... speak the whole lane of .PRF To .EXE goes over

AddStrings and SendString shining nProc not To like, there is then
"Warnung undeklarierte function: SENDSTRING" naja, try later it in nProc To bypass ...

back to that trouble, this is the code, the as nProc compiled go should
CompileMarkSeparation
nProc cr2

    Parameters File$,fs&

    If fs& MOD 2 = 0

        s% = (fs&\2)-1

    Else

        s% = (fs&\2)

    EndIf

    WhileLoop 0,s%

        p% = p%+word(fs#,&loop*2)

        If p% > 65534

            p% = (p%-65535)

        endif

    EndWhile

    p% = (p%+fs&)
    Return p%

ENDPROC


self-evident are variables s%,p%,fs# global declared...
... and this is The Error Message at Compile



---
self with small Codes How this I get a Error Message:
CompileMarkSeparation
 {$cleq}
cls
print rechne(2,4)

nProc rechne

    parameters a&,b&
    a& = a&*b&
    return Str $(a&)

endproc

Waitinput



what make I wrong with the XPSE ?

133 kB
Hochgeladen:04/15/13
Downloadcounter122
Download
39 kB
Hochgeladen:04/15/13
Downloadcounter123
Download
 
XProfan 10
TC-Programming [...] 
XProfan 8.0 - 10.0 - X2 - X3 - X4

04/15/13  
 



Regards!

first of all at least XProfan11 or FreeProfan benefit -
the latest Example of you is fehlerfrei and working integrally normal.

The Proc cr2 however is defective,
on attempt can I discern the s% not pub declared is and this Datentyp with %
is in nProcs ohnehin &. here again The Datentypen: [...] 

there on the Page standing left too The Function Reference,
SendString and SendKey should one itself thereafter self building by SendMessage.
might one then same here [...]  with take in.

fs# is pub neither declared, there's in nProcs from important Found only local
Variables and by Parameter übergebene: [...]  ,
on Globale can by Global [...]  _lesend_ zurückgreifen -
here but only long. Memory-Variables there in nProc not because unnecessary,
there runs everything directly by lever means again long: [...] 

hint: Ums yet faster as quick To make unnecessary clinging with
Rechenoperationen omit. so is s&=fs&\2-1 faster as s&=(fs&\2)-1 and
yet faster is s&=fs&; div s&,2; sub s&,1
 
04/15/13  
 




Georg
Teles
good tommorrow,

thanks the klärt first much, I have of in front come in only with XProfan 10 worked then studier I the and teste with FreeProfan first once ...
 
XProfan 10
TC-Programming [...] 
XProfan 8.0 - 10.0 - X2 - X3 - X4

04/15/13  
 



 
04/15/13  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.549 Views

Untitledvor 0 min.
Gast.081507/16/24
Matthias Arlt06/22/20
iF04/16/16
Georg Teles01/07/16
More...

Themeninformationen

this Topic has 2 subscriber:

iF (2x)
Georg Teles (2x)


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