English
Entrance

Error in the X4-Help 10.1 - Procedures

 

Walter
The code in Testprogramm 2 contain a While-Endlosschleife.
there missing one inc i%.
'Testprogramm 2
'--------------

Proc Wiederhole

    Parameters amount%, Text$
    Declare I%
    Clear I%

    While I% < amount%

        Print Text$

    EndWhile

ENDPROC

Cls
Print "Das is yet to the procedure."
Wiederhole 5, "Testtext"
Print "Das is to the procedure."
WaitKey
End
 
03/03/19  
 




Georg
Teles
is correct, there missing in the While Loop Inc i%, attempt time with i% = i%+1 instead of inc i%
'Testprogramm 2
'--------------

Proc Wiederhole

    Parameters amount%, Text$
    Declare I%
    Clear I%

    While I% < amount%

        Print Text$
        'Inc I%
        i% = i%+1

    EndWhile

ENDPROC

Cls
Print "Das is yet to the procedure."
Wiederhole 5, "Testtext"
Print "Das is to the procedure."
WaitKey
End

by me goes it both

Edit:
be stupid, Have "In the Hilfe" überlesen
 
TC-Programming [...] 
XProfan 8.0 - 10.0 - X2 - X3 - X4

03/06/19  
 




Walter
 
03/06/19  
 




RGH
thanks for Info. in the next Version Help is it korrigiert.

Greeting
Roland
 
XProfan X4
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
03/08/19  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.697 Views

Untitledvor 0 min.
funkheld01/14/22
Sven Bader09/10/21
Tango07/09/21
p.specht06/04/21
More...

Themeninformationen

this Topic has 3 subscriber:

Walter (2x)
RGH (1x)
Georg Teles (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