English
Forum

Reset + Rewrite different ???

 
who knows here moreover ?
with the untenstehenden Text goes Save the data correct
CompileMarkSeparation
DECLARE Titel$[26]
ASSIGN #1,datei$
REWRITE #1
PRINT #1,sp_zahl%
PRINT #1,r%
PRINT #1,g%
PRINT #1,b%
PRINT #1,r1%
PRINT #1,g1%
PRINT #1,b1%
I%=1

WhileNot GT(I%,sp_zahl%)

    Titel$[I%]=GetText$(edit%[I%])
    PRINT #1,Titel$[I%]
    INC I%

WEND

CLOSE #1
--------------------------------------
Versuche ich aber, die Daten zu lesen, kommt die Fehlermeldung "Titel$[I%] nicht declariert" !!!
ASSIGN #1,datei$
RESET #1
INPUT #1,sp_zahl%
INPUT #1,r%
INPUT #1,g%
INPUT #1,b%
INPUT #1,r1%
INPUT #1,g1%
INPUT #1,b1%
I%=1

WhileNot GT(I%,sp_zahl%)

    INPUT #1,titel$[I%]
    INC I%

WEND

CLOSE #1
--------------------------------s=s2>--

What is wrong ?
 
03/22/06  
 




Rolf
Koch
HI Horst,

versuchs time so:
CompileMarkSeparation
Declare titeldummy$ halt oben neu deklarieren
......
INPUT #1,titeldummy$
titel$[I%]=titeldum
pre>

comes me so to, as if Profan no Arrays behind one Input #x zulässt.
Roland reads You with?

Rolf
 
03/22/06  
 




RGH
I can only say: Rolf has right! Input allows only simple variables (means no Arrays, structure- or Objektvariablen). I ought to the vielleich in the Help something deutlicher make.
(The Hilfeartikel To Input  stammt hold yet from times, as it all these items not yet given ...)

Greeting
Roland
 
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/22/06  
 



Hello Roland
If here already Opportunities To XProfan10 geäussert go, wish I me, that Input# Arrays process can
 
03/22/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

473 Views

Untitledvor 0 min.
Lemojec11/22/16
Andreas Koch06/12/12

Themeninformationen

this Topic has 3 subscriber:

unbekannt (2x)
RGH (1x)
Rolf Koch (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