| |
|
|
| who knows here moreover ? with the untenstehenden Text goes Save the data correct CompileMarkSeparationDECLARE 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 ? |
|
|
| |
|
|
|
Rolf Koch | HI Horst,
versuchs time so: CompileMarkSeparation comes me so to, as if Profan no Arrays behind one Input #x zulässt. Roland reads You with?
Rolf |
|
|
| |
|
|
|
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 |
|
|
| |
|
|