| |
|
|
 Detlef Tussing | How can I at Programmaufruf with indicated of Parameters
Relais.exe Relais1-1.dat
declare myvar$ case %parcount : myvar$=val(par$(1))
The Variable myvar$ benefit circa in the program a File to open.
in example Assign #1,myvar$ myvar$ ought to then Relais1-1.dat his |
|
|
| Gruß Detlef Tussing Windows XP, XProfan 10 | 03/15/07 ▲ |
|
|
|
|
 Jörg Sellmeyer | 1. Why is myvar$ = Val(Par$(1))? Par$(x) is a String and You need indeed a String - whom Filenames Relais1-1.dat. 2. Relais1-1.dat must itself in the equal Ordner How the program find or with komplettem way indicated go. It's all right too DatenRelais1-1.dat if data one Unterordner the Program is. 3. You must myvar$ not quotation marks settle. 4. with Par$(1) functions it naturally only in the finished Exe. Greeting Jörg |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 03/15/07 ▲ |
|
|
|
|
 Detlef Tussing | The function VAL was too much
but my eigentlicher Error were The
thanks for your Help  |
|
|
| Gruß Detlef Tussing Windows XP, XProfan 10 | 03/15/07 ▲ |
|
|
|
|
 Jörg Sellmeyer | lovely, here under Votings are You incidentally in the incorrect section debarked. for ask simply a Thread in the Forum open. The Button New in the Mainpage lead you directly to that Forum for Profanfragen. Greeting Jörg |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 03/15/07 ▲ |
|
|
|
|
 | |
|
| |
|
|